diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-08-30 22:15:13 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-08-30 22:15:13 -0700 |
commit | 0ff048521ba361538dc4734e1c71680d870d50b7 (patch) | |
tree | 2c16b352a6b8cbc7f465d72f629c93e4e4918552 /lib | |
parent | 8709e1c1c3213ee8b35b83a8c34923ded9658eb3 (diff) | |
download | spack-0ff048521ba361538dc4734e1c71680d870d50b7.tar.gz spack-0ff048521ba361538dc4734e1c71680d870d50b7.tar.bz2 spack-0ff048521ba361538dc4734e1c71680d870d50b7.tar.xz spack-0ff048521ba361538dc4734e1c71680d870d50b7.zip |
Fix modules.rst doc build warning.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/docs/Makefile | 2 | ||||
-rw-r--r-- | lib/spack/docs/conf.py | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/spack/docs/Makefile b/lib/spack/docs/Makefile index f9eae29187..b0842373ab 100644 --- a/lib/spack/docs/Makefile +++ b/lib/spack/docs/Makefile @@ -71,7 +71,7 @@ help: @echo " doctest to run all doctests embedded in the documentation (if enabled)" clean: - -rm -f package_list.rst command_index.rst + -rm -f package_list.rst command_index.rst modules.rst -rm -rf $(BUILDDIR)/* $(APIDOC_FILES) html: diff --git a/lib/spack/docs/conf.py b/lib/spack/docs/conf.py index c0dccaa6ba..43d37f1526 100644 --- a/lib/spack/docs/conf.py +++ b/lib/spack/docs/conf.py @@ -71,9 +71,6 @@ os.environ['COLIFY_SIZE'] = '25x80' # Generate package list using spack command # with open('package_list.rst', 'w') as plist_file: - subprocess.check_output( - [spack_root + '/bin/spack', 'package-list']) - subprocess.Popen( [spack_root + '/bin/spack', 'package-list'], stdout=plist_file) @@ -97,6 +94,7 @@ with open('command_index.rst', 'a') as index: # Run sphinx-apidoc sphinx_apidoc(['-T', '-o', '.', '../spack']) +os.remove('modules.rst') # # Exclude everything in spack.__all__ from indexing. All of these |