summaryrefslogtreecommitdiffstats
path: root/examples/sphinx/release/conf.py
diff options
context:
space:
mode:
authorthmsdt <thomas.kulik@telekom.de>2022-08-16 13:10:56 +0200
committerthmsdt <thomas.kulik@telekom.de>2022-08-16 13:12:20 +0200
commit7e0db8a223e9d7a693c7120a5beb91df40fef82f (patch)
treeef5888d5f390d70d2332e0bdad9c1e2fad3e67b6 /examples/sphinx/release/conf.py
parent65bec69096b0a2ef18cd72d87b89757da4ae1906 (diff)
update sphinx example config files
Issue-ID: DOC-798 Signed-off-by: thmsdt <thomas.kulik@telekom.de> Change-Id: I74a213993ada2b3697b58270c30c61326b151f7b
Diffstat (limited to 'examples/sphinx/release/conf.py')
-rw-r--r--examples/sphinx/release/conf.py42
1 files changed, 42 insertions, 0 deletions
diff --git a/examples/sphinx/release/conf.py b/examples/sphinx/release/conf.py
new file mode 100644
index 000000000..b2ba93216
--- /dev/null
+++ b/examples/sphinx/release/conf.py
@@ -0,0 +1,42 @@
+project = "onap"
+release = "kohn"
+version = "kohn"
+
+author = "Open Network Automation Platform"
+# yamllint disable-line rule:line-length
+copyright = "ONAP. Licensed under Creative Commons Attribution 4.0 International License"
+
+pygments_style = "sphinx"
+html_theme = "sphinx_rtd_theme"
+html_theme_options = {
+ "style_nav_header_background": "white",
+ "sticky_navigation": "False" }
+html_logo = "_static/logo_onap_2017.png"
+html_favicon = "_static/favicon.ico"
+html_static_path = ["_static"]
+html_show_sphinx = False
+
+extensions = [
+ 'sphinx.ext.intersphinx','sphinxcontrib.blockdiag',
+ 'sphinxcontrib.seqdiag', 'sphinxcontrib.swaggerdoc', 'sphinx.ext.graphviz']
+
+#
+# Map to 'latest' if this file is used in 'latest' (master) 'doc' branch.
+# Change to {releasename} after you have created the new 'doc' branch.
+#
+
+branch = 'kohn'
+
+intersphinx_mapping = {}
+doc_url = 'https://docs.onap.org/projects'
+master_doc = 'index'
+
+#
+# Example:
+# intersphinx_mapping['onap-aai-aai-common'] = ('{}/onap-aai-aai-common/en/%s'.format(doc_url) % branch, None)
+#
+
+html_last_updated_fmt = '%d-%b-%y %H:%M'
+
+def setup(app):
+ app.add_css_file("css/ribbon.css")