Updated git submodules
[doc.git] / docs / conf.py
index 95c2a8c..83d9c9d 100644 (file)
@@ -38,6 +38,7 @@ extensions = [
     'sphinx.ext.imgmath',
     'sphinx.ext.viewcode',
     'sphinxcontrib.blockdiag',
+    'sphinxcontrib.nwdiag',
     'sphinxcontrib.seqdiag',
     'sphinx.ext.ifconfig',
     'sphinx.ext.todo',
@@ -46,7 +47,8 @@ extensions = [
 ]
 
 # Font path for seqdiag
-seqdiag_fontpath= '/usr/share/fonts/truetype/dejavu/DejaVuSansCondensed.ttf'
+seqdiag_fontpath = '/usr/share/fonts/truetype/dejavu/DejaVuSansCondensed.ttf'
+nwdiag_fontpath =  '/usr/share/fonts/truetype/dejavu/DejaVuSansCondensed.ttf'
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
@@ -64,7 +66,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u''
-copyright = u'2017 ONAP. Licensed under Creative Commons Attribution 4.0 International License'
+copyright = u'2018 ONAP. Licensed under Creative Commons Attribution 4.0 International License'
 
 
 author = u'Open Network Automation Platform'
@@ -72,11 +74,10 @@ author = u'Open Network Automation Platform'
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
 # built documents.
-#
 # The short X.Y version.
-version = 'Latest'
+version = '2.0.0'
 # The full version, including alpha/beta/rc tags.
-release = 'Latest'
+release = 'Beijing'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
@@ -94,7 +95,6 @@ language = None
 # List of patterns, relative to source directory, that match files and
 # directories to ignore when looking for source files.
 exclude_patterns = [
-       'submodules/aai/aai-common.git/docs/platform/offeredapis.rst',
        '_build' 
        ]
 
@@ -169,7 +169,7 @@ html_static_path = ['_static']
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
-#html_last_updated_fmt = '%b %d, %Y'
+html_last_updated_fmt = '%d-%b-%y %H:%M'
 
 # If true, SmartyPants will be used to convert quotes and dashes to
 # typographically correct entities.
@@ -195,7 +195,7 @@ html_static_path = ['_static']
 #html_show_sourcelink = True
 
 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
-#html_show_sphinx = True
+html_show_sphinx = False
 
 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
 #html_show_copyright = True
@@ -377,5 +377,52 @@ epub_exclude_files = ['search.html']
 #epub_use_index = True
 
 # Patterns to ignore in linkcheck builder
-linkcheck_ignore = [r'http://localhost:\d+/']
-
+linkcheck_ignore = [
+       r'http://$',
+       r'http:/$',
+       r'http://10\.',
+       r'http://127\.',
+       r'http://172\.[123]',
+       r'http://app_host:port/',
+       r'http://app-host:port/',
+       r'http://ESR_SERVICE_IP',
+       r'http://ESR_SERVER_IP',
+       r'http://hostIP:\d+/',
+       r'http://load-balanced-address:\d+/',
+       r'http://localhost',
+       r'http://\$msb_address/',
+       r'http://\$MSB_SERVER_IP:\d+/',
+       r'http://msb_docker_host_ip:\d+/',
+       r'http://MSB_IP:MSB_PORT/',
+       r'http://msb.onap.org',
+       r'http://MSB_SERVER_IP:\d+/',
+       r'http://org.openecomp.',
+       r'http://{PDP_URL}:\d+/',
+       r'http://servername.domain.com',
+       r'http://.*simpledemo.openecomp.org',
+       r'http://.*simpledemo.onap.org',
+       r'http://.*test.att.com:\d+/',
+       r'http://we-are-data-router.us',
+       r'http://we-are-message-router.us:\d+/'
+       r'http://www.\[host\]:\[port\]/',
+       r'http://yourhostname',
+       r'https://$',
+       r'https:/$',
+       r'https://10\.',
+       r'https://127\.',
+       r'https://172\.[123]',
+       r'https://aaf.onap.org',
+       r'https://\$CBAM_IP',
+       r'https://ESR_SERVICE_IP',
+       r'https://ESR_SERVER_IP',
+       r'https://msb.onap.org',
+       r'https://my-subscriber-app.dcae',
+       r'https://\$CBAM_IP:\d+/',
+       r'https://load-balanced-address:\d+/',
+       r'https://prov.datarouternew.com:8443',
+       r'https://.*simpledemo.openecomp.org',
+       r'https://.*simpledemo.onap.org',
+       r'https://.*test.att.com:\d+/',
+       r'https://we-are-data-router.us',
+       r'https://we-are-message-router.us:\d+/'
+       ]