Fix section labels for some commands in the docs

This commit is contained in:
Todd Gamblin 2018-02-11 02:31:24 -08:00
parent 39e6d54956
commit fff3cc695d
2 changed files with 7 additions and 7 deletions

View File

@ -163,7 +163,7 @@ compilers`` or ``spack compiler list``:
Any of these compilers can be used to build Spack packages. More on Any of these compilers can be used to build Spack packages. More on
how this is done is in :ref:`sec-specs`. how this is done is in :ref:`sec-specs`.
.. _spack-compiler-add: .. _cmd-spack-compiler-add:
^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^
``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``. An alias for ``spack compiler find``.
.. _spack-compiler-find: .. _cmd-spack-compiler-find:
^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^
``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 This loads the environment module for gcc-4.9.0 to add it to
``PATH``, and then it adds the compiler to Spack. ``PATH``, and then it adds the compiler to Spack.
.. _spack-compiler-info: .. _cmd-spack-compiler-info:
^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^
``spack compiler info`` ``spack compiler info``

View File

@ -69,7 +69,7 @@ packages from the internet and checksumming them.
The other three commands are for managing mirror configuration. They The other three commands are for managing mirror configuration. They
control the URL(s) from which Spack downloads its packages. control the URL(s) from which Spack downloads its packages.
.. _spack-mirror-create: .. _cmd-spack-mirror-create:
----------------------- -----------------------
``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 This is useful if there is a specific suite of software managed by
your site. your site.
.. _spack-mirror-add: .. _cmd-spack-mirror-add:
-------------------- --------------------
``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. Each mirror has a name so that you can refer to it again later.
.. _spack-mirror-list: .. _cmd-spack-mirror-list:
--------------------- ---------------------
``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 $ spack mirror list
local_filesystem file://~/spack-mirror-2014-06-24 local_filesystem file://~/spack-mirror-2014-06-24
.. _spack-mirror-remove: .. _cmd-spack-mirror-remove:
----------------------- -----------------------
``spack mirror remove`` ``spack mirror remove``