Updated Kohn release notes for 5G SON use case
[integration.git] / docs / conf.py
index 6684e1c..b351570 100644 (file)
@@ -3,6 +3,8 @@ from docs_conf.conf import *
 branch = 'latest'
 master_doc = 'index'
 
+doc_url = 'https://docs.onap.org/projects'
+
 linkcheck_ignore = [
     r'http://localhost:.*',
     'http://CONSUL_SERVER_UI:30270/ui/#/dc1/services',
@@ -13,14 +15,19 @@ linkcheck_ignore = [
     'http://so-monitoring:30224',
     r'http://SINK_IP_ADDRESS:667.*',
     r'http.*K8S_HOST:30227.*',
-    r'http.*K8S_NODE_IP.*'
+    r'http.*K8S_NODE_IP.*',
+    r'http.*REPO_IP.*',
+    'http://team.onap.eu',
+    'https://tools.ietf.org/html/rfc8345'
 ]
 
 intersphinx_mapping = {}
+intersphinx_mapping['onap-oom'] = ('{}/onap-oom/en/%s'.format(doc_url) % branch, None)
+intersphinx_mapping['onap-cli'] = ('{}/onap-cli/en/%s'.format(doc_url) % branch, None)
 
-html_theme = 'sphinx_rtd_theme'
 html_last_updated_fmt = '%d-%b-%y %H:%M'
-html_theme_options = {'body_max_width': '100%'}
+
+exclude_patterns = ['.tox/**']
 
 def setup(app):
-    app.add_stylesheet("css/ribbon.css")
+    app.add_css_file("css/ribbon.css")