Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
3a9388b4
Commit
3a9388b4
authored
8 years ago
by
Todd Gamblin
Browse files
Options
Downloads
Patches
Plain Diff
Move sphinx-apidoc into conf.py, too.
parent
32834dd6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/spack/docs/.gitignore
+1
-0
1 addition, 0 deletions
lib/spack/docs/.gitignore
lib/spack/docs/Makefile
+1
-1
1 addition, 1 deletion
lib/spack/docs/Makefile
lib/spack/docs/conf.py
+5
-0
5 additions, 0 deletions
lib/spack/docs/conf.py
with
7 additions
and
1 deletion
lib/spack/docs/.gitignore
+
1
−
0
View file @
3a9388b4
package_list.rst
package_list.rst
command_index.rst
command_index.rst
spack*.rst
spack*.rst
modules.rst
_build
_build
This diff is collapsed.
Click to expand it.
lib/spack/docs/Makefile
+
1
−
1
View file @
3a9388b4
...
@@ -74,7 +74,7 @@ clean:
...
@@ -74,7 +74,7 @@ clean:
-
rm
-f
package_list.rst command_index.rst
-
rm
-f
package_list.rst command_index.rst
-
rm
-rf
$(
BUILDDIR
)
/
*
$(
APIDOC_FILES
)
-
rm
-rf
$(
BUILDDIR
)
/
*
$(
APIDOC_FILES
)
html
:
apidoc
html
:
$(
SPHINXBUILD
)
-b
html
$(
ALLSPHINXOPTS
)
$(
BUILDDIR
)
/html
$(
SPHINXBUILD
)
-b
html
$(
ALLSPHINXOPTS
)
$(
BUILDDIR
)
/html
@
echo
@
echo
@
echo
"Build finished. The HTML pages are in
$(
BUILDDIR
)
/html."
@
echo
"Build finished. The HTML pages are in
$(
BUILDDIR
)
/html."
...
...
This diff is collapsed.
Click to expand it.
lib/spack/docs/conf.py
+
5
−
0
View file @
3a9388b4
...
@@ -42,6 +42,7 @@
...
@@ -42,6 +42,7 @@
import
shutil
import
shutil
import
subprocess
import
subprocess
from
glob
import
glob
from
glob
import
glob
from
sphinx.apidoc
import
main
as
sphinx_apidoc
# -- Spack customizations -----------------------------------------------------
# -- Spack customizations -----------------------------------------------------
...
@@ -93,6 +94,10 @@
...
@@ -93,6 +94,10 @@
for
cmd
in
sorted
(
command_names
):
for
cmd
in
sorted
(
command_names
):
index
.
write
(
'
* :ref:`%s`
\n
'
%
cmd
)
index
.
write
(
'
* :ref:`%s`
\n
'
%
cmd
)
# Run sphinx-apidoc
sphinx_apidoc
([
'
-T
'
,
'
-o
'
,
'
.
'
,
'
../spack
'
])
#
#
# Exclude everything in spack.__all__ from indexing. All of these
# Exclude everything in spack.__all__ from indexing. All of these
# symbols are imported from elsewhere in spack; their inclusion in
# symbols are imported from elsewhere in spack; their inclusion in
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment