-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3124 from oesteban/doc/sphinxext-interfaces
DOC: Documentation overhaul
- Loading branch information
Showing
121 changed files
with
3,450 additions
and
4,033 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,11 @@ PAPEROPT_a4 = -D latex_paper_size=a4 | |
PAPEROPT_letter = -D latex_paper_size=letter | ||
ALLSPHINXOPTS = -d _build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . | ||
|
||
.PHONY: help clean html nipypeapi htmlonly latex changes linkcheck doctest | ||
.PHONY: help clean html htmlonly latex changes linkcheck doctest | ||
|
||
help: | ||
@echo "Please use \`make <target>' where <target> is one of" | ||
@echo " html make the HTML documentation" | ||
@echo " nipypeapi make interface API documents only" | ||
@echo " latex make the LaTeX, you can set PAPER=a4 or PAPER=letter" | ||
@echo " pdf make <latex> and run the PDF generation" | ||
@echo " changes make an overview of all changed/added/deprecated" \ | ||
|
@@ -33,20 +32,15 @@ htmlonly: | |
@echo | ||
@echo "Build finished. The HTML pages are in _build/html." | ||
|
||
nipypeapi: | ||
rm -rf interfaces/generated | ||
python -u ../tools/build_interface_docs.py | ||
@echo "Build API docs finished." | ||
|
||
html: clean examples2rst nipypeapi htmlonly | ||
html: clean examples2rst htmlonly | ||
@echo "Build HTML and API finished." | ||
|
||
examples2rst: | ||
examples2rst: clean | ||
mkdir -p users/examples | ||
../tools/make_examples.py --no-exec | ||
../tools/make_examples.py -x ../../../examples/test_spm.py --no-exec | ||
@echo "examples2rst finished." | ||
|
||
latex: nipypeapi | ||
latex: clean examples2rst | ||
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex | ||
@echo | ||
@echo "Build finished; the LaTeX files are in _build/latex." | ||
|
@@ -80,18 +74,3 @@ gitwash-update: | |
--project-url=http://nipy.org/nipype \ | ||
--project-ml-url=http://mail.scipy.org/mailman/listinfo/nipy-devel | ||
@echo "gitwash updated" | ||
|
||
# Sourceforge doesn't appear to have a way of copying the files | ||
# without specifying a username. So we'll probably have one target | ||
# for each project admin | ||
sf_satra_nightly: html | ||
@echo "Copying html files to sourceforge..." | ||
scp -r _build/html/* satra,[email protected]:htdocs/nipype-nightly/ | ||
|
||
sf_satra: html | ||
@echo "Copying html files to sourceforge..." | ||
rsync -auv _build/html/. satra,[email protected]:htdocs/nipype/. | ||
|
||
sf_filo: html | ||
@echo "Copying html files to sourceforge..." | ||
rsync -auv _build/html/. gorgolewski,[email protected]:htdocs/nipype/. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.