improve navigation and readability
[doc.git] / examples / sphinx / release / conf.py
1 project = "onap"
2 release = "kohn"
3 version = "kohn"
4
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"
8
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','sphinxcontrib.blockdiag',
21     'sphinxcontrib.seqdiag', 'sphinxcontrib.swaggerdoc', 'sphinx.ext.graphviz']
22
23 #
24 # Map to 'latest' if this file is used in 'latest' (master) 'doc' branch.
25 # Change to {releasename} after you have created the new 'doc' branch.
26 #
27
28 branch = 'kohn'
29
30 intersphinx_mapping = {}
31 doc_url = 'https://docs.onap.org/projects'
32 master_doc = 'index'
33
34 #
35 # Example:
36 # intersphinx_mapping['onap-aai-aai-common'] = ('{}/onap-aai-aai-common/en/%s'.format(doc_url) % branch, None)
37 #
38
39 html_last_updated_fmt = '%d-%b-%y %H:%M'
40
41 def setup(app):
42     app.add_css_file("css/ribbon.css")