* Add documentation building to fabfile

This commit is contained in:
Matthew Honnibal 2014-08-20 17:02:32 +02:00
parent a78ad4152d
commit 416a324bcf

5
fabfile.py vendored
View File

@ -6,5 +6,10 @@ def make():
def clean(): def clean():
local('python setup.py clean --all') local('python setup.py clean --all')
def docs():
with lcd('docs'):
local('sphinx-build -b html . ./_build')
local('open _build/index.html')
def test(): def test():
local('py.test -x') local('py.test -x')