From b003518aabc0ece88f607c0e1bac8b0b8d4b2450 Mon Sep 17 00:00:00 2001 From: Hagop Bozawglanian Date: Wed, 8 Apr 2020 11:43:38 -0700 Subject: VNFRQTS - adding the tox needs for requirement json generation Issue-ID: VNFRQTS-872 Signed-off-by: Hagop Bozawglanian Change-Id: Icdebd10c7097b4c2c267858d7dfd062062548711 --- docs/Chapter1/index.rst | 1 + docs/conf.py | 1 + tox.ini | 5 +++++ 3 files changed, 7 insertions(+) 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 -- cgit 1.2.3-korg