Update requirements for doc building 08/124608/1
authorlukegleeson <luke.gleeson@est.tech>
Thu, 30 Sep 2021 10:01:48 +0000 (11:01 +0100)
committerlukegleeson <luke.gleeson@est.tech>
Thu, 30 Sep 2021 10:01:48 +0000 (11:01 +0100)
Added requirements-docs.txt file
It now loads all centralized upper contraints from ONAP doc

Issue-ID: CPS-704
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: Iee2db84f5b9b7a320cfdbcc11b7b8079971a64a4

docs/requirements-docs.txt [new file with mode: 0644]
docs/tox.ini

diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt
new file mode 100644 (file)
index 0000000..5a3d2f1
--- /dev/null
@@ -0,0 +1 @@
+lfdocs-conf
\ No newline at end of file
index 78293e2..0f25a72 100644 (file)
@@ -24,6 +24,8 @@ skipsdist = true
 [testenv:docs]
 basepython = python3
 deps = -r{toxinidir}/requirements-docs.txt
+       -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
+       -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
 commands =
     sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
     echo "Generated docs available in {toxinidir}/_build/html"
@@ -34,6 +36,9 @@ whitelist_externals =
 
 [testenv:docs-linkcheck]
 basepython = python3
+deps = -r{toxinidir}/requirements-docs.txt
+       -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
+       -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
 commands = echo "Link Checking not enforced"
 whitelist_externals =
     echo