From dd6727edf9c5b013708020e149b233f274b9fb22 Mon Sep 17 00:00:00 2001 From: Alec Scott Date: Fri, 13 Nov 2026 11:43:20 -0800 Subject: [PATCH 1/2] Update Spack env to successfully build docs Signed-off-by: Alec Scott --- conf.py | 10 +++++++++- spack.yaml | 13 ++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/conf.py b/conf.py index 3bd96297fe..d4c4682e95 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/spack.yaml b/spack.yaml index 91648f9fd4..bf9dfcebf1 100644 --- a/spack.yaml +++ b/spack.yaml @@ -1,14 +1,13 @@ 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-sphinx-last-updated-by-git + - py-sphinx-sitemap - 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 - graphviz - py-codespell view: true From 665a359fba1729cb56be2d6c5f33edc7523e83c8 Mon Sep 17 00:00:00 2001 From: Alec Scott Date: Fri, 13 Nov 2026 11:53:01 -0800 Subject: [PATCH 2/2] Remove py-python-levenshtein since it isn't used by the html build Signed-off-by: Alec Scott --- requirements.txt | 1 - spack.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 8a4fd91bf8..5db37ae5f1 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 bf9dfcebf1..054a29870b 100644 --- a/spack.yaml +++ b/spack.yaml @@ -7,7 +7,6 @@ spack: - py-sphinx-copybutton - py-sphinx-last-updated-by-git - py-sphinx-sitemap - - py-python-levenshtein - graphviz - py-codespell view: true