Skip to content

Commit 444b860

Browse files
authored
docs: fix docutils related bug (spack#50941)
1 parent 84a5ad3 commit 444b860

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

lib/spack/docs/containers.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -755,9 +755,9 @@ to customize the generation of container recipes:
755755
Best Practices
756756
~~~~~~~~~~~~~~
757757

758-
"""
758+
""""""
759759
MPI
760-
"""
760+
""""""
761761
Due to the dependency on Fortran for OpenMPI, which is the Spack default
762762
implementation, consider adding ``gfortran`` to the ``apt-get install`` list.
763763

@@ -768,9 +768,9 @@ For execution on HPC clusters, it can be helpful to import the Docker
768768
image into Singularity in order to start a program with an *external*
769769
MPI. Otherwise, also add ``openssh-server`` to the ``apt-get install`` list.
770770

771-
""""
771+
""""""
772772
CUDA
773-
""""
773+
""""""
774774
Starting from CUDA 9.0, NVIDIA provides minimal CUDA images based on
775775
Ubuntu. Please see `their instructions <https://hub.docker.com/r/nvidia/cuda/>`_.
776776
Avoid double-installing CUDA by adding, e.g.:

lib/spack/docs/getting_started.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -659,9 +659,9 @@ compilers:
659659
Intel compilers may therefore be configured in one of two ways with
660660
Spack: using modules, or using compiler flags.
661661

662-
^^^
662+
^^^^^^
663663
NAG
664-
^^^
664+
^^^^^^
665665

666666
The Numerical Algorithms Group provides a licensed Fortran compiler.
667667
It is recommended to use GCC for your C/C++ compilers.
@@ -769,9 +769,9 @@ For example, to use an OpenMPI installed in /opt/local, you would use:
769769
In general, *Spack is easier to use and more reliable if it builds all of its own dependencies*.
770770
However, there are several packages for which one commonly needs to use system versions:
771771

772-
^^^
772+
^^^^^^
773773
MPI
774-
^^^
774+
^^^^^^
775775

776776
On supercomputers, sysadmins have already built MPI versions that take
777777
into account the specifics of that computer's hardware. Unless you
@@ -862,9 +862,9 @@ to add the following to ``packages.yaml``:
862862
from other dependencies. This ensures that binaries in Spack dependencies
863863
are preferred over system binaries.
864864

865-
^^^
865+
^^^^^^
866866
Git
867-
^^^
867+
^^^^^^
868868

869869
Some Spack packages use ``git`` to download, which might not work on
870870
some computers. For example, the following error was
@@ -1279,9 +1279,9 @@ to your ``PATH`` in this case.
12791279
.. note::
12801280
Spack currently supports Python versions later than 3.2 inclusive.
12811281

1282-
"""
1282+
""""""
12831283
Git
1284-
"""
1284+
""""""
12851285

12861286
A bash console and GUI can be downloaded from https://git-scm.com/downloads.
12871287
If you are unfamiliar with Git, there are a myriad of resources online to help
@@ -1296,9 +1296,9 @@ as the project providing Git support on Windows. This is additionally the recomm
12961296
for installing Git on Windows, a link to which can be found above. Spack requires the
12971297
utilities vendored by this project.
12981298

1299-
"""
1299+
""""""
13001300
7zip
1301-
"""
1301+
""""""
13021302

13031303
A tool for extracting ``.xz`` files is required for extracting source tarballs. The latest 7-Zip
13041304
can be located at https://sourceforge.net/projects/sevenzip/.

lib/spack/docs/pipelines.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,9 +760,9 @@ informing the user what broken specs were encountered. This allows the pipeline
760760
to fail early and avoid wasting compute resources attempting to build packages
761761
that will not succeed.
762762

763-
^^^^^
763+
^^^^^^
764764
CDash
765-
^^^^^
765+
^^^^^^
766766

767767
The optional ``cdash`` section provides information that will be used by the
768768
``spack ci generate`` command (invoked by ``spack ci start``) for reporting

lib/spack/docs/replace_conda_homebrew.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ installed packages are symlinked to a single central location like ``/usr/local`
1414
In this section, we will show you how to emulate the behavior of Homebrew/Conda
1515
using :ref:`environments`!
1616

17-
-----
17+
------
1818
Setup
19-
-----
19+
------
2020

2121
First, let's create a new environment. We'll assume that Spack is already set up
2222
correctly, and that you've already sourced the setup script for your shell.

0 commit comments

Comments
 (0)