forked from networkx/networkx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ensure valid rst file * Edit text * Update README and package docstring * Add myself as a contributor * Update gitwash * Fix warnings/errors except citations/footnotes * Remove old note about 3.0 incompatibility * Remove stale ref to gh-pages * Create top-level tools directory (standard practice) * Use sphinx-gallery extension for examples * Sphinx-gallery generates images for `plot_` examples * Comply with pep8 * Don't save figures
- Loading branch information
1 parent
7a138a1
commit 471294a
Showing
108 changed files
with
1,682 additions
and
1,923 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 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 |
---|---|---|
|
@@ -26,19 +26,11 @@ help: | |
@echo " changes to make an overview of all changed/added/deprecated items" | ||
@echo " linkcheck to check all external links for integrity" | ||
@echo " doctest to run all doctests embedded in the documentation (if enabled)" | ||
@echo " gitwash to update the gitwash documentation" | ||
|
||
|
||
clean: | ||
-rm -rf build/* source/reference/generated/* source/examples/* source/static/examples/* doc/source/*.pdf doc/source/*.zip | ||
-rm -rf ../examples/*/*.png | ||
|
||
generate: build/generate-stamp | ||
build/generate-stamp: $(wildcard source/reference/*.rst) | ||
mkdir -p build | ||
python make_gallery.py | ||
python make_examples_rst.py ../examples source | ||
touch build/generate-stamp | ||
|
||
-rm -rf build/* source/auto_examples source/modules source/reference/generated | ||
|
||
dist: html | ||
test -d build/latex || make latex | ||
|
@@ -48,33 +40,33 @@ dist: html | |
(cd build/dist && tar czf ../dist.tar.gz .) | ||
|
||
|
||
html: generate | ||
html: | ||
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) build/html | ||
@echo | ||
@echo "Build finished. The HTML pages are in build/html." | ||
|
||
dirhtml: generate | ||
dirhtml: | ||
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) build/dirhtml | ||
@echo | ||
@echo "Build finished. The HTML pages are in build/dirhtml." | ||
|
||
pickle: generate | ||
pickle: | ||
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) build/pickle | ||
@echo | ||
@echo "Build finished; now you can process the pickle files." | ||
|
||
json: generate | ||
json: | ||
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) build/json | ||
@echo | ||
@echo "Build finished; now you can process the JSON files." | ||
|
||
htmlhelp: generate | ||
htmlhelp: | ||
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) build/htmlhelp | ||
@echo | ||
@echo "Build finished; now you can run HTML Help Workshop with the" \ | ||
".hhp project file in build/htmlhelp." | ||
|
||
qthelp: generate | ||
qthelp: | ||
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) build/qthelp | ||
@echo | ||
@echo "Build finished; now you can run "qcollectiongenerator" with the" \ | ||
|
@@ -89,7 +81,7 @@ epub: | |
@echo "Build finished. The epub file is in $(BUILDDIR)/epub." | ||
|
||
|
||
latex: generate | ||
latex: | ||
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) build/latex | ||
@echo | ||
@echo "Build finished; the LaTeX files are in build/latex." | ||
|
@@ -101,21 +93,19 @@ changes: | |
@echo | ||
@echo "The overview file is in build/changes." | ||
|
||
linkcheck: generate | ||
linkcheck: | ||
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) build/linkcheck | ||
@echo | ||
@echo "Link check complete; look for any errors in the above output " \ | ||
"or in build/linkcheck/output.txt." | ||
|
||
doctest: generate | ||
doctest: | ||
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) build/doctest | ||
@echo "Testing of doctests in the sources finished, look at the " \ | ||
"results in build/doctest/output.txt." | ||
|
||
gh-pages: clean dist | ||
python gh-pages.py $(tag) | ||
|
||
gitwash-update: | ||
python gitwash_dumper.py source/developer networkx \ | ||
--project-url=http://networkx.github.io \ | ||
--project-ml-url=http://groups.google.com/group/networkx-discuss/ | ||
python ../tools/gitwash_dumper.py source/developer networkx \ | ||
--project-url=http://networkx.github.io \ | ||
--project-ml-url=http://groups.google.com/group/networkx-discuss/ \ | ||
--gitwash-url [email protected]:matthew-brett/gitwash.git |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.