efiacor | 0fb3b8f | 2022-10-28 15:29:26 +0100 | [diff] [blame^] | 1 | project = "onap" |
| 2 | release = "master" |
| 3 | version = "master" |
Jessica Wagantall | d236cfc | 2020-02-06 15:00:26 -0800 | [diff] [blame] | 4 | |
efiacor | 0fb3b8f | 2022-10-28 15:29:26 +0100 | [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 | d236cfc | 2020-02-06 15:00:26 -0800 | [diff] [blame] | 8 | |
efiacor | 0fb3b8f | 2022-10-28 15:29:26 +0100 | [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', |
| 25 | 'sphinxcontrib.plantuml', |
| 26 | 'sphinx_toolbox.collapse' |
Jessica Wagantall | d236cfc | 2020-02-06 15:00:26 -0800 | [diff] [blame] | 27 | ] |
| 28 | |
efiacor | 0fb3b8f | 2022-10-28 15:29:26 +0100 | [diff] [blame^] | 29 | exclude_patterns = ['archived/*.rst', '.tox'] |
| 30 | # |
| 31 | # Map to 'latest' if this file is used in 'latest' (master) 'doc' branch. |
| 32 | # Change to {releasename} after you have created the new 'doc' branch. |
| 33 | # |
| 34 | |
| 35 | branch = 'latest' |
| 36 | |
Jessica Wagantall | d236cfc | 2020-02-06 15:00:26 -0800 | [diff] [blame] | 37 | intersphinx_mapping = {} |
efiacor | 0fb3b8f | 2022-10-28 15:29:26 +0100 | [diff] [blame^] | 38 | doc_url = 'https://docs.onap.org/projects' |
| 39 | master_doc = 'index' |
| 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 | # |
Jessica Wagantall | d236cfc | 2020-02-06 15:00:26 -0800 | [diff] [blame] | 48 | |
| 49 | html_last_updated_fmt = '%d-%b-%y %H:%M' |
| 50 | |
efiacor | 0fb3b8f | 2022-10-28 15:29:26 +0100 | [diff] [blame^] | 51 | |
Jessica Wagantall | d236cfc | 2020-02-06 15:00:26 -0800 | [diff] [blame] | 52 | def setup(app): |
efiacor | 0fb3b8f | 2022-10-28 15:29:26 +0100 | [diff] [blame^] | 53 | app.add_css_file("css/ribbon.css") |
| 54 | |
| 55 | |
| 56 | linkcheck_ignore = [ |
| 57 | r'http://localhost:\d+/' |
| 58 | ] |