From 4d24d513add52c174ae6cb5fe67289d3e7d68186 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 8 Jul 2015 12:34:35 +0200 Subject: [PATCH] * Add fab docs command --- fabfile.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fabfile.py b/fabfile.py index a8f5e4d5f..b10a42547 100644 --- a/fabfile.py +++ b/fabfile.py @@ -15,6 +15,10 @@ def sdist(): with virtualenv(VENV_DIR): local('python setup.py sdist') +def docs(): + with virtualenv(VENV_DIR): + with lcd(path.join(path.dirname(__file__), 'docs')): + local('make html') def publish(): with virtualenv(VENV_DIR):