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"
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
20 'sphinx.ext.intersphinx',
21 'sphinx.ext.graphviz',
22 'sphinxcontrib.blockdiag',
23 'sphinxcontrib.seqdiag',
24 'sphinxcontrib.swaggerdoc',
25 'sphinxcontrib.plantuml',
26 'sphinx_toolbox.collapse',
30 redoc_uri = 'https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js'
35 'page': 'api/local-swagger',
36 'spec': 'https://raw.githubusercontent.com/onap/policy-api/master/main/src/main/resources/openapi/openapi.yaml',
38 'suppress-warnings': True,
39 'hide-hostname': True,
44 'page': 'pap/local-swagger',
45 'spec': 'https://raw.githubusercontent.com/onap/policy-pap/master/main/src/main/resources/openapi/openapi.yaml',
47 'suppress-warnings': True,
48 'hide-hostname': True,
52 'name': 'Policy XACML',
53 'page': 'xacml/local-swagger',
54 'spec': 'https://raw.githubusercontent.com/onap/policy-xacml-pdp/master/main/src/main/resources/openapi/openapi.yaml',
56 'suppress-warnings': True,
57 'hide-hostname': True,
61 'name': 'Policy DROOLS',
62 'page': 'drools/local-swagger',
63 'spec': 'https://raw.githubusercontent.com/onap/policy-drools-pdp/master/feature-healthcheck/src/main/resources/openapi/openapi.yaml',
65 'suppress-warnings': True,
66 'hide-hostname': True,
70 'name': 'Policy ACM-R',
71 'page': 'clamp/acm/api-protocol/local-swagger',
72 'spec': 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/openapi.yaml',
74 'suppress-warnings': True,
75 'hide-hostname': True,
81 # Map to 'latest' if this file is used in 'latest' (master) 'doc' branch.
82 # Change to {releasename} after you have created the new 'doc' branch.
87 intersphinx_mapping = {}
88 doc_url = 'https://docs.onap.org/projects'
91 exclude_patterns = ['.tox']
93 spelling_word_list_filename='spelling_wordlist.txt'
94 spelling_lang = "en_GB"
98 # intersphinx_mapping['onap-aai-aai-common'] = ('{}/onap-aai-aai-common/en/%s'.format(doc_url) % branch, None)
101 html_last_updated_fmt = '%d-%b-%y %H:%M'
104 app.add_css_file("css/ribbon.css")
107 r'http://localhost:\d+/',
108 r'.(.*?)/local-swagger.html(.*?)'