[DOC] Correct requirements for doc chain building 54/125554/1
authorthmsdt <thomas.kulik@telekom.de>
Wed, 3 Nov 2021 11:36:43 +0000 (12:36 +0100)
committerthmsdt <thomas.kulik@telekom.de>
Wed, 3 Nov 2021 11:38:02 +0000 (12:38 +0100)
Issue-ID: DOC-765

Signed-off-by: thmsdt <thomas.kulik@telekom.de>
Change-Id: I5938e39af9e0c5e14d4530498ddfdd7e9dba0fb1

.gitreview
docs/conf.py
docs/requirements-docs.txt
docs/tox.ini

index 4ee99a2..937a00d 100644 (file)
@@ -2,6 +2,6 @@
 host=gerrit.onap.org
 port=29418
 project=oom/platform/cert-service
-defaultbranch=master
+defaultbranch=istanbul
 asd=asdf
         
index 9d61433..1c63251 100644 (file)
@@ -1,6 +1,6 @@
 from docs_conf.conf import *
 
-branch = 'latest'
+branch = 'istanbul'
 master_doc = 'index'
 
 linkcheck_ignore = [
@@ -15,4 +15,5 @@ intersphinx_mapping = {}
 html_last_updated_fmt = '%d-%b-%y %H:%M'
 
 def setup(app):
-    app.add_stylesheet("css/ribbon.css")
+    app.add_css_file("css/ribbon.css")
+
index 98fc25c..0d26214 100644 (file)
@@ -1,16 +1,4 @@
-tox
-Sphinx
-doc8
-docutils
-setuptools
 six
-sphinx_rtd_theme>=0.4.3
-sphinxcontrib-blockdiag
-sphinxcontrib-needs>=0.2.3
-sphinxcontrib-nwdiag
-sphinxcontrib-seqdiag
 sphinxcontrib-swaggerdoc
 sphinxcontrib-openapi
-sphinxcontrib-plantuml
-sphinx_bootstrap_theme
 lfdocs-conf
index edac8c3..bf9bc51 100644 (file)
@@ -5,7 +5,10 @@ skipsdist = true
 
 [testenv:docs]
 basepython = python3
-deps = -r{toxinidir}/requirements-docs.txt
+deps =
+    -r{toxinidir}/requirements-docs.txt
+    -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt?h=istanbul
+    -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=istanbul
 commands =
     sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
     echo "Generated docs available in {toxinidir}/_build/html"