From d4a002ddaa3bd5a79fc519a24d99dc704be896de Mon Sep 17 00:00:00 2001 From: MichaelMorris Date: Tue, 8 Nov 2022 14:14:18 +0000 Subject: Fix doc configuration on master branch Signed-off-by: MichaelMorris Issue-ID: SDC-4242 Change-Id: Iae21bb2ea386a78d53fd188121e83ab9ddba1bff --- docs/conf.py | 42 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) (limited to 'docs/conf.py') diff --git a/docs/conf.py b/docs/conf.py index bd960055f7..6c817538e3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,8 +1,46 @@ -from docs_conf.conf import * +project = "onap" +release = "master" +version = "master" -master_doc = 'index' +author = "Open Network Automation Platform" +# yamllint disable-line rule:line-length +copyright = "ONAP. Licensed under Creative Commons Attribution 4.0 International License" + +pygments_style = "sphinx" +html_theme = "sphinx_rtd_theme" +html_theme_options = { + "style_nav_header_background": "white", + "sticky_navigation": "False" } +html_logo = "_static/logo_onap_2017.png" +html_favicon = "_static/favicon.ico" +html_static_path = ["_static"] +html_show_sphinx = False + +extensions = [ + 'sphinx.ext.intersphinx', + 'sphinx.ext.graphviz', + 'sphinxcontrib.blockdiag', + 'sphinxcontrib.seqdiag', + 'sphinxcontrib.swaggerdoc', + 'sphinxcontrib.plantuml' +] + +# +# Map to 'latest' if this file is used in 'latest' (master) 'doc' branch. +# 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_lang = "en_GB" +spelling_word_list_filename='spelling_wordlist.txt' +spelling_exclude_patterns=['release-notes.rst'] linkcheck_ignore = [ 'http://localhost', -- cgit 1.2.3-korg