summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2021-07-15 23:09:39 -0500
committerTodd Gamblin <tgamblin@llnl.gov>2021-07-16 08:30:56 -0700
commitc56f2a935db03e7041bd88783149caffd0366adc (patch)
tree743a577fab8903e4f402b1f1d4f1c3e983bfdcc3 /lib
parentb8afc0fd291a9e5f414e618965ad976f050fa6dc (diff)
downloadspack-c56f2a935db03e7041bd88783149caffd0366adc.tar.gz
spack-c56f2a935db03e7041bd88783149caffd0366adc.tar.bz2
spack-c56f2a935db03e7041bd88783149caffd0366adc.tar.xz
spack-c56f2a935db03e7041bd88783149caffd0366adc.zip
Sphinx 3.4+ required for correct reference target linking
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/conf.py2
-rw-r--r--lib/spack/docs/requirements.txt2
-rw-r--r--lib/spack/docs/spack.yaml2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/spack/docs/conf.py b/lib/spack/docs/conf.py
index 20a1ba86c5..5e2795cf49 100644
--- a/lib/spack/docs/conf.py
+++ b/lib/spack/docs/conf.py
@@ -97,7 +97,7 @@ def setup(sphinx):
# -- General configuration -----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
-needs_sphinx = '1.8'
+needs_sphinx = '3.4'
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
diff --git a/lib/spack/docs/requirements.txt b/lib/spack/docs/requirements.txt
index f5c50b0199..26787cfb1a 100644
--- a/lib/spack/docs/requirements.txt
+++ b/lib/spack/docs/requirements.txt
@@ -1,7 +1,7 @@
# These dependencies should be installed using pip in order
# to build the documentation.
-sphinx
+sphinx>=3.4
sphinxcontrib-programoutput
sphinx-rtd-theme
python-levenshtein
diff --git a/lib/spack/docs/spack.yaml b/lib/spack/docs/spack.yaml
index 69d0e301fd..1ba1b61674 100644
--- a/lib/spack/docs/spack.yaml
+++ b/lib/spack/docs/spack.yaml
@@ -14,6 +14,6 @@
#
spack:
specs:
- - py-sphinx
+ - "py-sphinx@3.4:"
- py-sphinxcontrib-programoutput
- py-sphinx-rtd-theme