From 27ddf8916afb937f24acd01cc581a87f6d9aa7c4 Mon Sep 17 00:00:00 2001 From: thmsdt Date: Thu, 1 Jun 2023 15:12:58 +0200 Subject: [PATCH] fix docs config files Issue-ID: DOC-811 Signed-off-by: thmsdt Change-Id: I13a15b2c14bb2dcc85aaec222fa68ff0700527fd --- .gitreview | 1 + docs/conf.py | 13 +++++++------ docs/tox.ini | 6 +++--- 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 -- 2.16.6