5 # Map to 'latest' if this file is used in 'latest' (master) 'doc' branch.
6 # Change to {releasename} after you have created the new 'doc' branch.
9 author = "Open Network Automation Platform"
10 # yamllint disable-line rule:line-length
11 copyright = "ONAP. Licensed under Creative Commons Attribution 4.0 International License"
13 pygments_style = "sphinx"
14 html_theme = "sphinx_rtd_theme"
15 html_theme_options = {
16 "style_nav_header_background": "white",
17 "sticky_navigation": "False" }
18 html_logo = "_static/logo_onap_2017.png"
19 html_favicon = "_static/favicon.ico"
20 html_static_path = ["_static"]
21 html_show_sphinx = False
24 'sphinx.ext.intersphinx',
25 'sphinx.ext.graphviz',
26 'sphinxcontrib.blockdiag',
27 'sphinxcontrib.seqdiag',
28 'sphinxcontrib.swaggerdoc',
29 'sphinxcontrib.plantuml',
30 'sphinx_toolbox.collapse',
34 redoc_uri = 'https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js'
39 'page': 'api/local-swagger',
40 'spec': 'https://raw.githubusercontent.com/onap/policy-api/' + release + '/main/src/main/resources/openapi/openapi.yaml',
42 'suppress-warnings': True,
43 'hide-hostname': True,
48 'page': 'pap/local-swagger',
49 'spec': 'https://raw.githubusercontent.com/onap/policy-pap/' + release + '/main/src/main/resources/openapi/openapi.yaml',
51 'suppress-warnings': True,
52 'hide-hostname': True,
56 'name': 'Policy XACML',
57 'page': 'xacml/local-swagger',
58 'spec': 'https://raw.githubusercontent.com/onap/policy-xacml-pdp/' + release + '/main/src/main/resources/openapi/openapi.yaml',
60 'suppress-warnings': True,
61 'hide-hostname': True,
65 'name': 'Policy DROOLS',
66 'page': 'drools/local-swagger',
67 'spec': 'https://raw.githubusercontent.com/onap/policy-drools-pdp/' + release + '/feature-healthcheck/src/main/resources/openapi/openapi.yaml',
69 'suppress-warnings': True,
70 'hide-hostname': True,
74 'name': 'Policy ACM-R',
75 'page': 'clamp/acm/api-protocol/local-swagger',
76 'spec': 'https://raw.githubusercontent.com/onap/policy-clamp/' + release + '/runtime-acm/src/main/resources/openapi/openapi.yaml',
78 'suppress-warnings': True,
79 'hide-hostname': True,
84 intersphinx_mapping = {}
85 doc_url = 'https://docs.onap.org/projects'
88 exclude_patterns = ['.tox']
90 spelling_word_list_filename='spelling_wordlist.txt'
91 spelling_lang = "en_GB"
95 # intersphinx_mapping['onap-aai-aai-common'] = ('{}/onap-aai-aai-common/en/%s'.format(doc_url) % branch, None)
98 html_last_updated_fmt = '%d-%b-%y %H:%M'
101 app.add_css_file("css/ribbon.css")
104 r'http://localhost:\d+/',
105 r'.(.*?)/local-swagger.html(.*?)'