This adds configuration for performing local documentation builds
with the following simple command:
tox -e docs
Change-Id: I8d7b3af60c12f4d426e3d6fc64eae66b356d94a6
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
storperf.egg-info
*.db
ci/job
-docs_build
docs_output
+.tox
+docs/_build/*
--- /dev/null
+from docs_conf.conf import *
--- /dev/null
+---
+project_cfg: opnfv
+project: STORPERF
./testing/user/storperf-reporting.rst
******************************
-StorPerf Dev Guide
+StorPerf Developer Guide
******************************
.. toctree::
- :caption: StorPerf Dev Guide
+ :caption: StorPerf Developer Guide
:maxdepth: 5
:numbered: 5
- ./dev/index.rst
+ ./testing/developer/devguide/index.rst
Indices
--- /dev/null
+lfdocs-conf
+sphinx_opnfv_theme
--- /dev/null
+[tox]
+minversion = 1.6
+envlist =
+ docs,
+ docs-linkcheck
+skipsdist = true
+
+[testenv:docs]
+deps = -rdocs/requirements.txt
+commands =
+ sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+ echo "Generated docs available in {toxinidir}/docs/_build/html"
+whitelist_externals = echo
+
+[testenv:docs-linkcheck]
+deps = -rdocs/requirements.txt
+commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck