X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=docs%2Fconf.py;h=2f240cce467f93fd6d23d3f4735fa22c1926ebda;hb=d6ca54ae645c6bd7d5bcebdf85686ba71a8613a6;hp=36bd20d73bdb1f5e239537e086fd630c66fcc0a0;hpb=352d5e998dd6b5e52d5f7dc75913f76e31770c57;p=docs.git diff --git a/docs/conf.py b/docs/conf.py index 36bd20d73..2f240cce4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -20,7 +20,7 @@ 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 # documentation root, use os.path.abspath to make it absolute, like shown here. -#sys.path.insert(0, os.path.abspath('.')) +sys.path.insert(0, os.path.abspath('submodules/spectrometer/server')) # -- General configuration ------------------------------------------------ @@ -30,7 +30,7 @@ import sphinx_bootstrap_theme # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = [] +extensions = ['sphinx.ext.autodoc','sphinx.ext.graphviz'] # Disable javasphinx generation until we have a solution to long build # times. readthedocs timesout after 902 seconds. @@ -66,9 +66,9 @@ author = 'OpenDaylight Project' # built documents. # # The short X.Y version. -version = 'Boron' +version = 'Carbon' # The full version, including alpha/beta/rc tags. -release = 'Boron' +release = 'Carbon' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -128,6 +128,8 @@ html_theme = 'bootstrap' #html_theme_options = {} html_theme_options = { 'bootswatch_theme': "united", + 'navbar_sidebarrel': False, + 'source_link_position': "footer", } # Add any paths that contain custom themes here, relative to this directory. @@ -170,7 +172,9 @@ html_static_path = ['_static'] #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. -#html_sidebars = {} +html_sidebars = { + '**': ['localtoc.html', 'relations.html'], +} # Additional templates that should be rendered to pages, maps page names to # template names.