diff options
-rw-r--r-- | lib/spack/docs/conf.py | 9 | ||||
-rw-r--r-- | lib/spack/docs/developer_guide.rst | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lib/spack/docs/conf.py b/lib/spack/docs/conf.py index 842c84c4e5..af53645ff1 100644 --- a/lib/spack/docs/conf.py +++ b/lib/spack/docs/conf.py @@ -76,7 +76,14 @@ apidoc_args = [ "--output-dir=.", # Directory to place all output "--module-first", # emit module docs before submodule docs ] -sphinx_apidoc(apidoc_args + ["_spack_root/lib/spack/spack"]) +sphinx_apidoc( + apidoc_args + + [ + "_spack_root/lib/spack/spack", + "_spack_root/lib/spack/spack/test/*.py", + "_spack_root/lib/spack/spack/test/cmd/*.py", + ] +) sphinx_apidoc(apidoc_args + ["_spack_root/lib/spack/llnl"]) # Enable todo items diff --git a/lib/spack/docs/developer_guide.rst b/lib/spack/docs/developer_guide.rst index 93bbce5198..f777044684 100644 --- a/lib/spack/docs/developer_guide.rst +++ b/lib/spack/docs/developer_guide.rst @@ -232,7 +232,7 @@ Spack Subcommands Unit tests ^^^^^^^^^^ -:mod:`spack.test` +``spack.test`` Implements Spack's test suite. Add a module and put its name in the test suite in ``__init__.py`` to add more unit tests. |