X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fconf.py;h=7126e34886cdae91a1ca616c613be4608a4d0d58;hb=3665e0909f08e90c4d7a3b990a49bd0035e7c8b1;hp=95c2a8c003e541666c38b1495448083167bad6e6;hpb=e9340751e8e433aa0dc13e78753aeef26b771fe9;p=doc.git diff --git a/docs/conf.py b/docs/conf.py index 95c2a8c00..7126e3488 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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'] @@ -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 = 'master branch' # The full version, including alpha/beta/rc tags. -release = 'Latest' +release = 'master branch' # 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,29 @@ 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://localhost', + r'http://yourhostname', + r'http://{PDP_URL}:\d+/', + r'http://.*simpledemo.onap.org:\d+/', + r'http://load-balanced-address:\d+/', + r'http://127.0.0.1', + r'http://ESR_SERVER_IP:\d+/', + r'http://MSB_SERVER_IP:\d+/', + r'http://msb_docker_host_ip:\d+/', + r'http://msb.onap.org/', + r'http://\$msb_address/', + r'http://hostIP:\d+/', + r'https://\$CBAM_IP:\d+/', + r'http://app-host:port/', + r'http://servername.domain.com', + r'https://we-are-message-router.us:\d+/', + r'https://we-are-data-router.us:\d+/', + r'http://prov.datarouternew.com:8443/', + r'http://www.[host]:[port]/', + r'http:/$', + r'https:/$', + r'http://$', + r'https://$', + r'http://app-host:port/' + ]