From 416a324bcf48038f68d277a0c53f596de2c1a6d5 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 20 Aug 2014 17:02:32 +0200 Subject: [PATCH] * Add documentation building to fabfile --- fabfile.py | 5 +++++ 1 file changed, 5 insertions(+) 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')