aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthmsdt <thomas.kulik@telekom.de>2023-06-01 15:12:58 +0200
committerthmsdt <thomas.kulik@telekom.de>2023-06-01 15:13:31 +0200
commit27ddf8916afb937f24acd01cc581a87f6d9aa7c4 (patch)
tree817eb23027066aa3b9ae49141c6e9783fbc94dbf
parent25394ccfbc68575201707208c1818f448a26daa1 (diff)
fix docs config files
Issue-ID: DOC-811 Signed-off-by: thmsdt <thomas.kulik@telekom.de> Change-Id: I13a15b2c14bb2dcc85aaec222fa68ff0700527fd
-rw-r--r--.gitreview1
-rw-r--r--docs/conf.py13
-rw-r--r--docs/tox.ini6
3 files changed, 11 insertions, 9 deletions
diff --git a/.gitreview b/.gitreview
index 98dc34e..8402c5f 100644
--- a/.gitreview
+++ b/.gitreview
@@ -2,3 +2,4 @@
host=gerrit.onap.org
port=29418
project=msb/apigateway.git
+defaultbranch=london
diff --git a/docs/conf.py b/docs/conf.py
index 70937d7..32e9045 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -1,11 +1,16 @@
project = "onap"
-release = "master"
-version = "master"
+release = "london"
+version = "london"
+branch = 'london'
author = "Open Network Automation Platform"
# yamllint disable-line rule:line-length
copyright = "ONAP. Licensed under Creative Commons Attribution 4.0 International License"
+exclude_patterns = [
+ '.tox'
+]
+
pygments_style = "sphinx"
html_theme = "sphinx_rtd_theme"
html_theme_options = {
@@ -30,14 +35,10 @@ extensions = [
# Change to {releasename} after you have created the new 'doc' branch.
#
-branch = 'latest'
-
intersphinx_mapping = {}
doc_url = 'https://docs.onap.org/projects'
master_doc = 'index'
-exclude_patterns = ['.tox']
-
spelling_word_list_filename='spelling_wordlist.txt'
spelling_lang = "en_GB"
diff --git a/docs/tox.ini b/docs/tox.ini
index 44ea131..1538b87 100644
--- a/docs/tox.ini
+++ b/docs/tox.ini
@@ -8,7 +8,7 @@ basepython = python3.8
deps =
-r{toxinidir}/requirements-docs.txt
-chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=london
commands =
sphinx-build -W -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html
@@ -17,7 +17,7 @@ basepython = python3.8
deps =
-r{toxinidir}/requirements-docs.txt
-chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=london
commands =
sphinx-build -W -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck
@@ -26,6 +26,6 @@ basepython = python3.8
deps =
-r{toxinidir}/requirements-docs.txt
-chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=london
commands =
sphinx-build -W -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck \ No newline at end of file