diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-09-10 15:09:45 -0700 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-10-22 11:22:41 -0700 |
commit | 7c525d126453994f720897a9845722557ba3a165 (patch) | |
tree | 3e4f14ee3ea6e7ae48c55f7fe4c7824b2fe51613 /tox.ini | |
parent | 560eb13d6468f142d6aaaae78f85bc22a6acc7cf (diff) |
Adds local documentation builds following this guide:
https://docs.opnfv.org/en/latest/how-to-use-docs/local-build-transition.html
docs can be build with
tox -e docs
Going forward docs will be hosted here:
https://opnfv-daisy.readthedocs.io/en/latest/
Change-Id: Iecb230463dfb96101cc5cf01af71cb54318ca732
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -25,9 +25,19 @@ setenv= PYTHONPATH = {toxinidir} [testenv:pep8] +usedevelop = False deps = flake8 commands = flake8 {toxinidir} +[testenv:docs] +usedevelop = False +deps = -rdocs/requirements.txt +commands = + sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html + +[testenv:docs-linkcheck] +commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck + [flake8] # H803 skipped on purpose per list discussion. # E123, E125 skipped as they are invalid PEP-8. |