efiacor | 49ba508 | 2022-11-07 09:12:01 +0000 | [diff] [blame] | 1 | project = "onap" |
| 2 | release = "kohn" |
| 3 | version = "kohn" |
Jessica Wagantall | 8e3363f | 2020-02-06 15:21:38 -0800 | [diff] [blame] | 4 | |
efiacor | 49ba508 | 2022-11-07 09:12:01 +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 | 8e3363f | 2020-02-06 15:21:38 -0800 | [diff] [blame] | 8 | |
efiacor | 49ba508 | 2022-11-07 09:12:01 +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 |
Jessica Wagantall | 8e3363f | 2020-02-06 15:21:38 -0800 | [diff] [blame] | 18 | |
efiacor | 49ba508 | 2022-11-07 09:12:01 +0000 | [diff] [blame] | 19 | extensions = [ |
| 20 | 'sphinx.ext.intersphinx', |
| 21 | 'sphinx.ext.graphviz', |
| 22 | 'sphinxcontrib.blockdiag', |
| 23 | 'sphinxcontrib.seqdiag', |
| 24 | 'sphinxcontrib.swaggerdoc', |
| 25 | 'sphinxcontrib.plantuml' |
efiacor | 3988f22 | 2021-10-11 11:32:03 +0100 | [diff] [blame] | 26 | ] |
| 27 | |
efiacor | 49ba508 | 2022-11-07 09:12:01 +0000 | [diff] [blame] | 28 | # |
| 29 | # Map to 'latest' if this file is used in 'latest' (master) 'doc' branch. |
| 30 | # Change to {releasename} after you have created the new 'doc' branch. |
| 31 | # |
| 32 | |
| 33 | branch = 'kohn' |
| 34 | |
| 35 | intersphinx_mapping = {} |
| 36 | doc_url = 'https://docs.onap.org/projects' |
| 37 | master_doc = 'index' |
| 38 | |
| 39 | exclude_patterns = ['.tox'] |
| 40 | |
| 41 | spelling_word_list_filename='spelling_wordlist.txt' |
| 42 | spelling_lang = "en_GB" |
| 43 | |
| 44 | # |
| 45 | # Example: |
| 46 | # intersphinx_mapping['onap-aai-aai-common'] = ('{}/onap-aai-aai-common/en/%s'.format(doc_url) % branch, None) |
| 47 | # |
efiacor | 3988f22 | 2021-10-11 11:32:03 +0100 | [diff] [blame] | 48 | |
Jessica Wagantall | 8e3363f | 2020-02-06 15:21:38 -0800 | [diff] [blame] | 49 | html_last_updated_fmt = '%d-%b-%y %H:%M' |
| 50 | |
| 51 | def setup(app): |
efiacor | 3988f22 | 2021-10-11 11:32:03 +0100 | [diff] [blame] | 52 | app.add_css_file("css/ribbon.css") |
efiacor | 49ba508 | 2022-11-07 09:12:01 +0000 | [diff] [blame] | 53 | |
| 54 | linkcheck_ignore = [ |
| 55 | r'http://localhost:\d+/', |
| 56 | r'http://www\.\[host]:\[port]/webapi', |
| 57 | r'https://gerrit\.onap\.org/' |
| 58 | ] |