X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fconf.py;h=95c2a8c003e541666c38b1495448083167bad6e6;hb=abe5a34ebec963e5da86607ddf3e9df2210060df;hp=19b23f4239c424bd702744ed50e477d965416546;hpb=da7f8a14395e007e798b8df3429ce5cd55c9f426;p=doc.git diff --git a/docs/conf.py b/docs/conf.py index 19b23f423..95c2a8c00 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,6 +15,7 @@ import sys import os import shlex +#import sphinx_bootstrap_theme # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -36,9 +37,17 @@ extensions = [ 'sphinx.ext.todo', 'sphinx.ext.imgmath', 'sphinx.ext.viewcode', - 'sphinxcontrib.blockdiag' + 'sphinxcontrib.blockdiag', + 'sphinxcontrib.seqdiag', + 'sphinx.ext.ifconfig', + 'sphinx.ext.todo', + 'sphinxcontrib.plantuml', + 'sphinxcontrib.swaggerdoc' ] +# Font path for seqdiag +seqdiag_fontpath= '/usr/share/fonts/truetype/dejavu/DejaVuSansCondensed.ttf' + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -54,18 +63,20 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'ONAP' -copyright = u'2017, ONAP Contributors' -author = u'ONAP Contributors' +project = u'' +copyright = u'2017 ONAP. Licensed under Creative Commons Attribution 4.0 International License' + + +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 = 'pre-release alpha' +version = 'Latest' # The full version, including alpha/beta/rc tags. -release = 'Amsterdam 0.1 alpha' +release = 'Latest' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -83,8 +94,8 @@ language = None # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. exclude_patterns = [ - '_build', - 'templates' + 'submodules/aai/aai-common.git/docs/platform/offeredapis.rst', + '_build' ] # The reST default role (used for this markup: `text`) to use for all @@ -119,6 +130,7 @@ todo_include_todos = True # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. +#html_theme = 'bootstrap' html_theme = 'classic' # Theme options are theme-specific and customize the look and feel of a theme @@ -127,7 +139,7 @@ html_theme = 'classic' #html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. -#html_theme_path = [] +#html_theme_path = sphinx_bootstrap_theme.get_html_theme_path() # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". @@ -363,3 +375,7 @@ epub_exclude_files = ['search.html'] # If false, no index is generated. #epub_use_index = True + +# Patterns to ignore in linkcheck builder +linkcheck_ignore = [r'http://localhost:\d+/'] +