summaryrefslogtreecommitdiff
path: root/lib/spack/docs/environments.rst
diff options
context:
space:
mode:
authorGurkirat Singh <tbhaxor@gmail.com>2023-06-16 13:59:09 +0530
committerGitHub <noreply@github.com>2023-06-16 10:29:09 +0200
commit69a5c55702b9ad5ed78fd7dd20ada0f8c953f187 (patch)
tree4f7a5651fc965bf1ecdd614c66a0ae840e1350a5 /lib/spack/docs/environments.rst
parent2972d5847c6b1f21f29b888ded99fa642f9a2fce (diff)
downloadspack-69a5c55702b9ad5ed78fd7dd20ada0f8c953f187.tar.gz
spack-69a5c55702b9ad5ed78fd7dd20ada0f8c953f187.tar.bz2
spack-69a5c55702b9ad5ed78fd7dd20ada0f8c953f187.tar.xz
spack-69a5c55702b9ad5ed78fd7dd20ada0f8c953f187.zip
docs: add quotes around some values in a YAML example (#38412)
Diffstat (limited to 'lib/spack/docs/environments.rst')
-rw-r--r--lib/spack/docs/environments.rst6
1 files 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