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