liamfallon | 688a2dd | 2022-11-01 13:16:21 +0000 | [diff] [blame] | 1 | project = "onap" |
| 2 | release = "master" |
| 3 | version = "master" |
Jessica Wagantall | 57cf0b5 | 2020-02-06 15:26:32 -0800 | [diff] [blame] | 4 | |
liamfallon | 688a2dd | 2022-11-01 13:16:21 +0000 | [diff] [blame] | 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" |
Jessica Wagantall | 57cf0b5 | 2020-02-06 15:26:32 -0800 | [diff] [blame] | 8 | |
liamfallon | 688a2dd | 2022-11-01 13:16:21 +0000 | [diff] [blame] | 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', |
saul.gill | 9349a1a | 2023-03-29 16:14:06 +0100 | [diff] [blame] | 25 | 'sphinxcontrib.plantuml', |
| 26 | 'sphinx_toolbox.collapse' |
liamfallon | 688a2dd | 2022-11-01 13:16:21 +0000 | [diff] [blame] | 27 | ] |
Jessica Wagantall | 57cf0b5 | 2020-02-06 15:26:32 -0800 | [diff] [blame] | 28 | |
liamfallon | 94ab2ff | 2022-05-09 17:53:09 +0100 | [diff] [blame] | 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 | # |
| 33 | |
liamfallon | 94ab2ff | 2022-05-09 17:53:09 +0100 | [diff] [blame] | 34 | branch = 'latest' |
liamfallon | 94ab2ff | 2022-05-09 17:53:09 +0100 | [diff] [blame] | 35 | |
liamfallon | 688a2dd | 2022-11-01 13:16:21 +0000 | [diff] [blame] | 36 | intersphinx_mapping = {} |
| 37 | doc_url = 'https://docs.onap.org/projects' |
| 38 | master_doc = 'index' |
| 39 | |
| 40 | exclude_patterns = ['.tox'] |
| 41 | |
| 42 | spelling_word_list_filename='spelling_wordlist.txt' |
| 43 | spelling_lang = "en_GB" |
| 44 | |
| 45 | # |
| 46 | # Example: |
| 47 | # intersphinx_mapping['onap-aai-aai-common'] = ('{}/onap-aai-aai-common/en/%s'.format(doc_url) % branch, None) |
| 48 | # |
liamfallon | 1233214 | 2021-07-15 14:59:06 +0100 | [diff] [blame] | 49 | |
Jessica Wagantall | 57cf0b5 | 2020-02-06 15:26:32 -0800 | [diff] [blame] | 50 | html_last_updated_fmt = '%d-%b-%y %H:%M' |
| 51 | |
| 52 | def setup(app): |
liamfallon | 1233214 | 2021-07-15 14:59:06 +0100 | [diff] [blame] | 53 | app.add_css_file("css/ribbon.css") |
liamfallon | 688a2dd | 2022-11-01 13:16:21 +0000 | [diff] [blame] | 54 | |
| 55 | linkcheck_ignore = [ |
| 56 | r'http://localhost:\d+/' |
| 57 | ] |