diff --git a/conf.py b/conf.py index 3bd96297f..d4c4682e9 100644 --- a/conf.py +++ b/conf.py @@ -213,7 +213,15 @@ def setup(sphinx): # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. -exclude_patterns = ["_build", "_spack_root", "view", "._view", "common/*", ".venv"] +exclude_patterns = [ + "_build", + "_spack_root", + "view", + "._view", + ".spack-env", + "common/*", + ".venv", +] # The reST default role (used for this markup: `text`) to use for all documents. # default_role = None diff --git a/requirements.txt b/requirements.txt index 8a4fd91bf..5db37ae5f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,6 @@ sphinx_design==0.7.0 sphinx-last-updated-by-git==0.3.8 sphinx-sitemap==2.9.0 furo==2025.12.19 -python-levenshtein==0.27.5 docutils==0.22.4 pygments==2.21.0 urllib3==2.8.0 diff --git a/spack.yaml b/spack.yaml index 91648f9fd..054a29870 100644 --- a/spack.yaml +++ b/spack.yaml @@ -1,14 +1,12 @@ spack: specs: - - py-sphinx@5 - - py-sphinxcontrib-programoutput - - py-sphinx-rtd-theme + - py-sphinx@9 + - py-docutils + - py-pygments + - py-furo - py-sphinx-copybutton - - py-python-levenshtein - # Newer py-docutils messes up the style? - - py-docutils@0.16 - # Our hacky way to register styles only works on old pygments - - py-pygments@2.12 + - py-sphinx-last-updated-by-git + - py-sphinx-sitemap - graphviz - py-codespell view: true