VNFRQTS - adding the tox needs for requirement json generation 60/105560/2
authorHagop Bozawglanian <hagop.bozawglanian@att.com>
Wed, 8 Apr 2020 18:43:38 +0000 (11:43 -0700)
committerHagop Bozawglanian <hagop.bozawglanian@att.com>
Wed, 8 Apr 2020 18:48:30 +0000 (11:48 -0700)
Issue-ID: VNFRQTS-872

Signed-off-by: Hagop Bozawglanian <hagop.bozawglanian@att.com>
Change-Id: Icdebd10c7097b4c2c267858d7dfd062062548711

docs/Chapter1/index.rst
docs/conf.py
tox.ini

index 9b715dd..2d5119b 100644 (file)
@@ -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.
       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.
+
index 314670a..5b7f327 100644 (file)
@@ -2,6 +2,7 @@ from docs_conf.conf import *
 
 branch = 'latest'
 master_doc = 'index'
 
 branch = 'latest'
 master_doc = 'index'
+version = 'frankfurt'
 
 linkcheck_ignore = [
     'http://localhost',
 
 linkcheck_ignore = [
     'http://localhost',
diff --git a/tox.ini b/tox.ini
index ad5e0a5..64bd324 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -31,6 +31,11 @@ whitelist_externals =
     git
     sh
 
     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
 [testenv:docs-linkcheck]
 basepython = python3
 deps = -r{toxinidir}/etc/requirements.txt