X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Fconf.py;h=9d9f2816886c14c542465b472642943f065e364d;hb=d566c4170e6f4d8418f841400990b811abc0c250;hp=5b779af1d59f6e010e3c89807d58ab0d214cd9cf;hpb=d73e4da511fb831cb79748cb7ab37ce7ae412ac9;p=opnfvdocs.git diff --git a/docs/conf.py b/docs/conf.py index 5b779af1d..9d9f28168 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,12 +1,9 @@ import sphinx_bootstrap_theme -import subprocess +import os # 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. -# -subprocess.call(["rm", "-rf", "*"]) -# # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. @@ -35,7 +32,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = 'Documentation' +project = '' copyright = '2017, OPNFV. Licensed under CC BY 4.0' author = 'Open Platform for NFV' @@ -44,9 +41,9 @@ author = 'Open Platform for NFV' # built documents. # # The short X.Y version. -version = 'Colorado' +version = 'Latest' # The full version, including alpha/beta/rc tags. -release = 'Colorado' +release = 'Latest' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -105,7 +102,8 @@ html_theme = 'bootstrap' # documentation. # html_theme_options = {} html_theme_options = { - 'bootswatch_theme': "united", + 'bootswatch_theme': "journal", + 'navbar_sidebarrel': False, } # Add any paths that contain custom themes here, relative to this directory. @@ -267,6 +265,7 @@ texinfo_documents = [ 'Miscellaneous'), ] +html_sidebars = {'**': ['localtoc.html', 'relations.html'],} # Documents to append as an appendix to all manuals. # texinfo_appendices = []