From 16c2ba76b27a3dc207231c9066ce6ff4af8fbd71 Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Thu, 17 Oct 2013 09:29:44 +0200 Subject: Use the same heading, theme and conditional class tree and reference for all providers. --- src/service-dbus/doc/source/conf.py | 10 ++++++++-- src/service-dbus/doc/source/index.rst | 12 +++++++----- 2 files changed, 15 insertions(+), 7 deletions(-) (limited to 'src/service-dbus') diff --git a/src/service-dbus/doc/source/conf.py b/src/service-dbus/doc/source/conf.py index d513b1c..3c936d7 100644 --- a/src/service-dbus/doc/source/conf.py +++ b/src/service-dbus/doc/source/conf.py @@ -13,6 +13,12 @@ import sys, os +def setup(app): + # Register new option to include class list and class tree in index.rst + app.add_config_value('includeClasses', 'True', True) +includeClasses = True + + # 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. @@ -91,7 +97,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'openlmitheme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the @@ -99,7 +105,7 @@ html_theme = 'default' #html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. -#html_theme_path = [] +html_theme_path = ['../../../../tools/'] # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". diff --git a/src/service-dbus/doc/source/index.rst b/src/service-dbus/doc/source/index.rst index 3b4acba..dab439a 100644 --- a/src/service-dbus/doc/source/index.rst +++ b/src/service-dbus/doc/source/index.rst @@ -16,10 +16,12 @@ Contents: usage -OpenLMI Service CIM Classes: +.. ifconfig:: includeClasses -.. toctree:: - :maxdepth: 1 + OpenLMI Service CIM Classes: + + .. toctree:: + :maxdepth: 1 - mof/tree - mof/index + mof/tree + mof/index -- cgit