summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2023-11-09 11:55:29 -0800
committerGitHub <noreply@github.com>2023-11-09 19:55:29 +0000
commit45f8a0e42c735a531a01b1948b107c414fad2095 (patch)
treeb935f8a67a5ef6bc6d45b8cf5e0abdaaaa933623
parent4636a7f14fa9c1e31a61850667b8bd424a94d0c6 (diff)
downloadspack-45f8a0e42c735a531a01b1948b107c414fad2095.tar.gz
spack-45f8a0e42c735a531a01b1948b107c414fad2095.tar.bz2
spack-45f8a0e42c735a531a01b1948b107c414fad2095.tar.xz
spack-45f8a0e42c735a531a01b1948b107c414fad2095.zip
docs: tweak formatting of `+:` and `-:` operators (#40988)
Just trying to make these stand out a bit more in the docs.
-rw-r--r--lib/spack/docs/configuration.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/spack/docs/configuration.rst b/lib/spack/docs/configuration.rst
index 7026825fa8..f60c430d22 100644
--- a/lib/spack/docs/configuration.rst
+++ b/lib/spack/docs/configuration.rst
@@ -243,9 +243,11 @@ lower-precedence settings. Completely ignoring higher-level configuration
options is supported with the ``::`` notation for keys (see
:ref:`config-overrides` below).
-There are also special notations for string concatenation and precendense override.
-Using the ``+:`` notation can be used to force *prepending* strings or lists. For lists, this is identical
-to the default behavior. Using the ``-:`` works similarly, but for *appending* values.
+There are also special notations for string concatenation and precendense override:
+
+* ``+:`` will force *prepending* strings or lists. For lists, this is the default behavior.
+* ``-:`` works similarly, but for *appending* values.
+
:ref:`config-prepend-append`
^^^^^^^^^^^