Browse code

Make the tox docs env build the docs

The tools/build_docs script builds the docs for devstack. Use it.

Change-Id: I530ff6c8090f2c58160cb11bee35534b79db52ed

Monty Taylor authored on 2014/10/08 05:13:28
Showing 1 changed files
... ...
@@ -13,4 +13,11 @@ whitelist_externals = bash
13 13
 commands = bash -c "find {toxinidir} -not -wholename \*.tox/\* -and \( -name \*.sh -or -name \*rc -or -name functions\* -or \( -wholename lib/\* -and -not -name \*.md \) \) -print0 | xargs -0 bashate -v"
14 14
 
15 15
 [testenv:docs]
16
-commands = python setup.py build_sphinx
16
+deps =
17
+   Pygments
18
+   docutils
19
+whitelist_externals = bash
20
+setenv =
21
+  TOP_DIR={toxinidir}
22
+  INSTALL_SHOCCO=true
23
+commands = bash tools/build_docs.sh