diff --git a/makefile b/makefile index 638fc31..b7d8c27 100644 --- a/makefile +++ b/makefile @@ -5,4 +5,14 @@ test: py.test -v brainpy --cov=brainpy --cov-report=html --cov-report term retest: - py.test -v brainpy --lf \ No newline at end of file + py.test -v brainpy --lf + +update-docs: + git checkout gh-pages + git pull origin master + cd docs && make clean + cd docs && make html + git add docs/_build/html -f + git commit -m "update docs" + git push origin gh-pages + git checkout master \ No newline at end of file