Fix docs generation

Also add docs environment to tox.ini to simplify local docs generation

Change-Id: Ie0444264e4e02d206ded2c7568d58a26cfec3ae2
This commit is contained in:
Yuriy Taraday 2014-08-16 00:15:34 +04:00
parent 1761de8f02
commit 37b90eda3e
5 changed files with 14 additions and 4 deletions

View File

@ -14,4 +14,4 @@ Pull requests submitted through GitHub will be ignored.
Bugs should be filed on Launchpad, not GitHub: Bugs should be filed on Launchpad, not GitHub:
https://bugs.launchpad.net/oslo.concurrency https://bugs.launchpad.net/oslo

View File

@ -1 +1,5 @@
.. include:: ../../CONTRIBUTING.rst ==============
Contributing
==============
.. include:: ../../CONTRIBUTING.rst

View File

@ -1 +1 @@
.. include:: ../README.rst .. include:: ../../README.rst

View File

@ -1,3 +1,6 @@
hacking>=0.9.1,<0.10 hacking>=0.9.1,<0.10
oslosphinx
oslotest oslotest
# These are needed for docs generation
oslosphinx
sphinx>=1.1.2,!=1.2.0,<1.3

View File

@ -29,6 +29,9 @@ commands = flake8
[testenv:venv] [testenv:venv]
commands = {posargs} commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:cover] [testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}' commands = python setup.py testr --coverage --testr-args='{posargs}'