* Add fab docs command

This commit is contained in:
Matthew Honnibal 2015-07-08 12:34:35 +02:00
parent b42db257b7
commit 4d24d513ad

4
fabfile.py vendored
View File

@ -15,6 +15,10 @@ def sdist():
with virtualenv(VENV_DIR): with virtualenv(VENV_DIR):
local('python setup.py sdist') local('python setup.py sdist')
def docs():
with virtualenv(VENV_DIR):
with lcd(path.join(path.dirname(__file__), 'docs')):
local('make html')
def publish(): def publish():
with virtualenv(VENV_DIR): with virtualenv(VENV_DIR):