thmsdt | be64eed | 2022-11-21 14:20:51 +0100 | [diff] [blame] | 1 | project = "onap" |
| 2 | release = "master" |
| 3 | version = "master" |
| 4 | |
| 5 | author = "Open Network Automation Platform" |
| 6 | # yamllint disable-line rule:line-length |
| 7 | copyright = "ONAP. Licensed under Creative Commons Attribution 4.0 International License" |
| 8 | |
| 9 | pygments_style = "sphinx" |
| 10 | html_theme = "sphinx_rtd_theme" |
| 11 | html_theme_options = { |
| 12 | "style_nav_header_background": "white", |
| 13 | "sticky_navigation": "False" } |
| 14 | html_logo = "_static/logo_onap_2017.png" |
| 15 | html_favicon = "_static/favicon.ico" |
| 16 | html_static_path = ["_static"] |
| 17 | html_show_sphinx = False |
| 18 | |
| 19 | extensions = [ |
| 20 | 'sphinx.ext.intersphinx', |
| 21 | 'sphinx.ext.graphviz', |
| 22 | 'sphinxcontrib.blockdiag', |
| 23 | 'sphinxcontrib.seqdiag', |
| 24 | 'sphinxcontrib.swaggerdoc', |
| 25 | 'sphinxcontrib.plantuml', |
| 26 | 'sphinx_tabs.tabs' |
| 27 | ] |
| 28 | |
| 29 | # |
| 30 | # Map to 'latest' if this file is used in 'latest' (master) 'doc' branch. |
| 31 | # Change to {releasename} after you have created the new 'doc' branch. |
| 32 | # |
Jessica Wagantall | dcf40a7 | 2020-02-06 15:24:45 -0800 | [diff] [blame] | 33 | |
| 34 | branch = 'latest' |
thmsdt | be64eed | 2022-11-21 14:20:51 +0100 | [diff] [blame] | 35 | |
| 36 | intersphinx_mapping = {} |
JakobKrieg | ca623d6 | 2020-12-15 13:27:39 +0100 | [diff] [blame] | 37 | doc_url = 'https://docs.onap.org/projects' |
Jessica Wagantall | dcf40a7 | 2020-02-06 15:24:45 -0800 | [diff] [blame] | 38 | master_doc = 'index' |
| 39 | |
thmsdt | be64eed | 2022-11-21 14:20:51 +0100 | [diff] [blame] | 40 | exclude_patterns = ['.tox'] |
Jessica Wagantall | dcf40a7 | 2020-02-06 15:24:45 -0800 | [diff] [blame] | 41 | |
thmsdt | be64eed | 2022-11-21 14:20:51 +0100 | [diff] [blame] | 42 | spelling_word_list_filename='spelling_wordlist.txt' |
| 43 | spelling_lang = "en_GB" |
JakobKrieg | 7c3f395 | 2020-08-04 20:46:50 +0200 | [diff] [blame] | 44 | |
thmsdt | be64eed | 2022-11-21 14:20:51 +0100 | [diff] [blame] | 45 | intersphinx_mapping['onap-integration'] = ('{}/onap-integration/en/%s'.format(doc_url) % branch, None) |
JakobKrieg | ca623d6 | 2020-12-15 13:27:39 +0100 | [diff] [blame] | 46 | |
Jessica Wagantall | dcf40a7 | 2020-02-06 15:24:45 -0800 | [diff] [blame] | 47 | html_last_updated_fmt = '%d-%b-%y %H:%M' |
| 48 | |
| 49 | def setup(app): |
lf-jobbuilder | 585b5c2 | 2020-05-28 13:59:01 -0700 | [diff] [blame] | 50 | app.add_css_file("css/ribbon.css") |
thmsdt | be64eed | 2022-11-21 14:20:51 +0100 | [diff] [blame] | 51 | |
| 52 | linkcheck_ignore = [ |
| 53 | r'http://localhost:\d+/' |
| 54 | ] |