From 69a5c55702b9ad5ed78fd7dd20ada0f8c953f187 Mon Sep 17 00:00:00 2001 From: Gurkirat Singh Date: Fri, 16 Jun 2023 13:59:09 +0530 Subject: docs: add quotes around some values in a YAML example (#38412) --- lib/spack/docs/environments.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/spack/docs/environments.rst b/lib/spack/docs/environments.rst index 73da7059cb..a96e7259c9 100644 --- a/lib/spack/docs/environments.rst +++ b/lib/spack/docs/environments.rst @@ -916,9 +916,9 @@ function, as shown in the example below: .. code-block:: yaml projections: - zlib: {name}-{version} - ^mpi: {name}-{version}/{^mpi.name}-{^mpi.version}-{compiler.name}-{compiler.version} - all: {name}-{version}/{compiler.name}-{compiler.version} + zlib: "{name}-{version}" + ^mpi: "{name}-{version}/{^mpi.name}-{^mpi.version}-{compiler.name}-{compiler.version}" + all: "{name}-{version}/{compiler.name}-{compiler.version}" The entries in the projections configuration file must all be either specs or the keyword ``all``. For each spec, the projection used will -- cgit v1.2.3-60-g2f50