Add "docs" target to Makefile.

Closes #37.
This commit is contained in:
Ilya Otyutskiy 2015-12-20 22:14:25 +03:00
parent 80236d5151
commit 584014dae2
2 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,7 @@ python:
- "3.4"
- "3.5"
install: sudo pip install nose sphinx sphinx_rtd_theme; sudo pip install .
script: sudo nosetests && sudo sphinx-build -b html docs docs/_build
script: sudo nosetests && sudo make docs
notifications:
webhooks:
- http://tg.thesharp.org:8888/travis

View File

@ -5,3 +5,6 @@ clean:
upload:
python setup.py sdist bdist_wheel upload
docs:
sphinx-build -b html docs docs/_build