Skip to content

Commit 45a7ea4

Browse files
committed
Add gh-pages update command
1 parent a18b190 commit 45a7ea4

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

makefile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,14 @@ test:
55
py.test -v brainpy --cov=brainpy --cov-report=html --cov-report term
66

77
retest:
8-
py.test -v brainpy --lf
8+
py.test -v brainpy --lf
9+
10+
update-docs:
11+
git checkout gh-pages
12+
git pull origin master
13+
cd docs && make clean
14+
cd docs && make html
15+
git add docs/_build/html -f
16+
git commit -m "update docs"
17+
git push origin gh-pages
18+
git checkout master

0 commit comments

Comments
 (0)