From bcba18a222a8bcf8d937a60436574426306dadae Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Mon, 22 Aug 2022 15:53:00 +0200 Subject: Use official OpenStack Yoga upper constraints MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Change-Id: I22757e2d6750e88ac7e83a0636fc0755976a2cbd --- examples/sphinx/release/conf.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'examples/sphinx/release/conf.py') 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) -- cgit 1.2.3-korg