summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2018-02-11 02:31:24 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2018-02-12 20:25:17 -0800
commitfff3cc695df9924a84215b1ea019e391b953a6a9 (patch)
tree53a9771f5135ac93d969a8224d2bca3ca13dda5a /lib
parent39e6d54956e18a6b04ef43f61df0a5633ed9dc46 (diff)
downloadspack-fff3cc695df9924a84215b1ea019e391b953a6a9.tar.gz
spack-fff3cc695df9924a84215b1ea019e391b953a6a9.tar.bz2
spack-fff3cc695df9924a84215b1ea019e391b953a6a9.tar.xz
spack-fff3cc695df9924a84215b1ea019e391b953a6a9.zip
Fix section labels for some commands in the docs
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/getting_started.rst6
-rw-r--r--lib/spack/docs/mirrors.rst8
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/spack/docs/getting_started.rst b/lib/spack/docs/getting_started.rst
index 0f4a23f7fa..48999ad152 100644
--- a/lib/spack/docs/getting_started.rst
+++ b/lib/spack/docs/getting_started.rst
@@ -163,7 +163,7 @@ compilers`` or ``spack compiler list``:
Any of these compilers can be used to build Spack packages. More on
how this is done is in :ref:`sec-specs`.
-.. _spack-compiler-add:
+.. _cmd-spack-compiler-add:
^^^^^^^^^^^^^^^^^^^^^^
``spack compiler add``
@@ -171,7 +171,7 @@ how this is done is in :ref:`sec-specs`.
An alias for ``spack compiler find``.
-.. _spack-compiler-find:
+.. _cmd-spack-compiler-find:
^^^^^^^^^^^^^^^^^^^^^^^
``spack compiler find``
@@ -202,7 +202,7 @@ installed, but you know that new compilers have been added to your
This loads the environment module for gcc-4.9.0 to add it to
``PATH``, and then it adds the compiler to Spack.
-.. _spack-compiler-info:
+.. _cmd-spack-compiler-info:
^^^^^^^^^^^^^^^^^^^^^^^
``spack compiler info``
diff --git a/lib/spack/docs/mirrors.rst b/lib/spack/docs/mirrors.rst
index 4075421e12..4177261814 100644
--- a/lib/spack/docs/mirrors.rst
+++ b/lib/spack/docs/mirrors.rst
@@ -69,7 +69,7 @@ packages from the internet and checksumming them.
The other three commands are for managing mirror configuration. They
control the URL(s) from which Spack downloads its packages.
-.. _spack-mirror-create:
+.. _cmd-spack-mirror-create:
-----------------------
``spack mirror create``
@@ -154,7 +154,7 @@ can supply a file with specs in it, one per line:
This is useful if there is a specific suite of software managed by
your site.
-.. _spack-mirror-add:
+.. _cmd-spack-mirror-add:
--------------------
``spack mirror add``
@@ -182,7 +182,7 @@ You can tell your Spack installation to use that mirror like this:
Each mirror has a name so that you can refer to it again later.
-.. _spack-mirror-list:
+.. _cmd-spack-mirror-list:
---------------------
``spack mirror list``
@@ -195,7 +195,7 @@ To see all the mirrors Spack knows about, run ``spack mirror list``:
$ spack mirror list
local_filesystem file://~/spack-mirror-2014-06-24
-.. _spack-mirror-remove:
+.. _cmd-spack-mirror-remove:
-----------------------
``spack mirror remove``