The tools/build_docs script builds the docs for devstack. Use it.
Change-Id: I530ff6c8090f2c58160cb11bee35534b79db52ed
... | ... |
@@ -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 |