summaryrefslogtreecommitdiffstats
path: root/examples/sphinx/release/conf.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2022-08-22 15:53:00 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2022-08-23 10:25:50 +0200
commitbcba18a222a8bcf8d937a60436574426306dadae (patch)
tree9b30310a78e8cdbe23608b66b6765639d843efe6 /examples/sphinx/release/conf.py
parentc5123d6d7f9b5d7f5a0d3de143b778b291dbbb08 (diff)
Use official OpenStack Yoga upper constraints
As they remove sphinx from the list, we can switch to the official files. etc/upper-constraints.os.txt will be removed once all ONAP part of doc's conf.py are updated. It also fixes master's and releases's tox.ini and modifies conf.py to make spellcheck work. It syncs release/_static/css/ribbon.css which was obsolete. Issue-ID: DOC-782 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I22757e2d6750e88ac7e83a0636fc0755976a2cbd
Diffstat (limited to 'examples/sphinx/release/conf.py')
-rw-r--r--examples/sphinx/release/conf.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/examples/sphinx/release/conf.py b/examples/sphinx/release/conf.py
index b2ba93216..f85f8991d 100644
--- a/examples/sphinx/release/conf.py
+++ b/examples/sphinx/release/conf.py
@@ -1,6 +1,6 @@
project = "onap"
-release = "kohn"
-version = "kohn"
+release = "{release}"
+version = "{release}"
author = "Open Network Automation Platform"
# yamllint disable-line rule:line-length
@@ -25,12 +25,17 @@ extensions = [
# Change to {releasename} after you have created the new 'doc' branch.
#
-branch = 'kohn'
+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"
+
#
# Example:
# intersphinx_mapping['onap-aai-aai-common'] = ('{}/onap-aai-aai-common/en/%s'.format(doc_url) % branch, None)