File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -17,22 +17,25 @@ help:
1717# render docs
1818# copy rendered docs and .nojekyll (for github.io) to docs folder
1919# remove example notebooks from source folder
20- github :
21- @cp ../INSTALL.rst source/installation.rst
22- @cp ../CONTRIBUTING source/contributing.md
23- @cp -a ../examples/. source/_examples
24- @rm -r source/_examples/in_progress
20+ dev :
21+ @python pre-build.py source
2522 @make html
23+ @echo ' Copying docs to ../docs'
2624 @cp -a _build/html/. ../docs
2725 @cp .nojekyll ../docs/.nojekyll
28- @rm -r _build/html/
29- @rm -r source/_examples
30- @rm source/installation.rst
31- @rm source/contributing.md
26+
27+ github :
28+ @sphinx-polyversion -vv poly.py
29+ @echo ' Copying docs to ../docs'
30+ @cp -a _build_polyversion/. ../docs
3231
3332clean :
3433 @rm -rf ../docs/*
3534 @rm -rf _build
35+ @rm -rf _build_polyversion
36+ @rm -r source/_examples
37+ @rm source/installation.rst
38+ @rm source/contributing.md
3639
3740.PHONY : help Makefile
3841
You can’t perform that action at this time.
0 commit comments