Added local sphinx documentation build following this guide:
https://docs.opnfv.org/en/latest/how-to-use-docs/local-build-transition.html
Change-Id: I8d0c430e6fff46dc1bf869fd54f304b0994aca8a
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
--- /dev/null
+from docs_conf.conf import *
--- /dev/null
+---
+project_cfg: opnfv
+project: parser
--- /dev/null
+.. This work is licensed under a Creative Commons Attribution 4.0
+.. International License.
+.. SPDX-License-Identifier: CC-BY-4.0
+.. (c) Open Platform for NFV Project, Inc. and its contributors
+
+.. _parser:
+
+======
+Parser
+======
+
+.. toctree::
+ :maxdepth: 2
+
+ release/installation/index
+ release/release-notes/index
+ release/userguide/index
--- /dev/null
+lfdocs-conf
+sphinx_opnfv_theme
# such as verigraph
[tox]
minversion = 1.6
-envlist = py27,pep8
+envlist = py27,pep8,docs,docs-linkcheck
skipsdist = True
[testenv]
commands =
bash -c 'cd tosca2heat/tosca-parser; tox'
+[testenv:docs]
+deps = -rdocs/requirements.txt
+commands =
+ sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
+
+[testenv:docs-linkcheck]
+deps = -rdocs/requirements.txt
+commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck