Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ htmlonly:
@echo
@echo "Build finished. The HTML pages are in _build/html."

html: clean examples2rst htmlonly
html: clean htmlonly
@echo "Build HTML and API finished."

examples2rst: clean
mkdir -p users/examples
../tools/make_examples.py -x ../../../examples/test_spm.py --no-exec
@echo "examples2rst finished."

latex: clean examples2rst
latex: clean
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex
@echo
@echo "Build finished; the LaTeX files are in _build/latex."
Expand Down
3 changes: 3 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
from packaging.version import Version
import nipype

os.makedirs('users/examples', exist_ok=True)
os.system('python ../tools/make_examples.py -x ../../../examples/test_spm.py --no-exec')

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
Expand Down