From 74c86e39c5b88e442747adf46822a74e151f992b Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Thu, 15 May 2025 14:58:09 +0200 Subject: [PATCH] fix docs --- lib/spack/docs/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/spack/docs/conf.py b/lib/spack/docs/conf.py index aa9d1cddc4b..ca8657b5ddb 100644 --- a/lib/spack/docs/conf.py +++ b/lib/spack/docs/conf.py @@ -75,6 +75,7 @@ apidoc_args + [ "_spack_root/lib/spack/spack", + "_spack_root/lib/spack/spack/package.py", # sphinx struggles with os.chdir re-export. "_spack_root/lib/spack/spack/test/*.py", "_spack_root/lib/spack/spack/test/cmd/*.py", ] @@ -188,7 +189,7 @@ 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", ".spack-env", "spack/package.py"] +exclude_patterns = ["_build", "_spack_root", ".spack-env"] nitpicky = True nitpick_ignore = [