Fix modules.rst doc build warning.
This commit is contained in:
parent
8709e1c1c3
commit
0ff048521b
@ -71,7 +71,7 @@ help:
|
|||||||
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -f package_list.rst command_index.rst
|
-rm -f package_list.rst command_index.rst modules.rst
|
||||||
-rm -rf $(BUILDDIR)/* $(APIDOC_FILES)
|
-rm -rf $(BUILDDIR)/* $(APIDOC_FILES)
|
||||||
|
|
||||||
html:
|
html:
|
||||||
|
@ -71,9 +71,6 @@
|
|||||||
# Generate package list using spack command
|
# Generate package list using spack command
|
||||||
#
|
#
|
||||||
with open('package_list.rst', 'w') as plist_file:
|
with open('package_list.rst', 'w') as plist_file:
|
||||||
subprocess.check_output(
|
|
||||||
[spack_root + '/bin/spack', 'package-list'])
|
|
||||||
|
|
||||||
subprocess.Popen(
|
subprocess.Popen(
|
||||||
[spack_root + '/bin/spack', 'package-list'], stdout=plist_file)
|
[spack_root + '/bin/spack', 'package-list'], stdout=plist_file)
|
||||||
|
|
||||||
@ -97,6 +94,7 @@
|
|||||||
|
|
||||||
# Run sphinx-apidoc
|
# Run sphinx-apidoc
|
||||||
sphinx_apidoc(['-T', '-o', '.', '../spack'])
|
sphinx_apidoc(['-T', '-o', '.', '../spack'])
|
||||||
|
os.remove('modules.rst')
|
||||||
|
|
||||||
#
|
#
|
||||||
# Exclude everything in spack.__all__ from indexing. All of these
|
# Exclude everything in spack.__all__ from indexing. All of these
|
||||||
|
Loading…
Reference in New Issue
Block a user