From: Hagop Bozawglanian Date: Wed, 8 Apr 2020 18:43:38 +0000 (-0700) Subject: VNFRQTS - adding the tox needs for requirement json generation X-Git-Tag: 6.0.0-ONAP~2^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=b003518aabc0ece88f607c0e1bac8b0b8d4b2450;p=vnfrqts%2Frequirements.git VNFRQTS - adding the tox needs for requirement json generation Issue-ID: VNFRQTS-872 Signed-off-by: Hagop Bozawglanian Change-Id: Icdebd10c7097b4c2c267858d7dfd062062548711 --- diff --git a/docs/Chapter1/index.rst b/docs/Chapter1/index.rst index 9b715dd..2d5119b 100644 --- a/docs/Chapter1/index.rst +++ b/docs/Chapter1/index.rst @@ -34,3 +34,4 @@ Purpose VNFs or PNFs for compliance with ONAP; ONAP projects such as the VNF Validation Project will uses these VNFs or PNFs requirements to build test cases to validate VNFs or PNFs for compliance with ONAP. + diff --git a/docs/conf.py b/docs/conf.py index 314670a..5b7f327 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -2,6 +2,7 @@ from docs_conf.conf import * branch = 'latest' master_doc = 'index' +version = 'frankfurt' linkcheck_ignore = [ 'http://localhost', diff --git a/tox.ini b/tox.ini index ad5e0a5..64bd324 100644 --- a/tox.ini +++ b/tox.ini @@ -31,6 +31,11 @@ whitelist_externals = git sh +[testenv:needs] +basepython = python3 +deps = -r{toxinidir}/etc/requirements.txt +commands = sphinx-build -c ./docs/ -b needs -n -d {envtmpdir}/doctrees ./docs/ ./docs/data/ + [testenv:docs-linkcheck] basepython = python3 deps = -r{toxinidir}/etc/requirements.txt