summaryrefslogtreecommitdiffstats
path: root/src/service-dbus
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2013-10-17 09:29:44 +0200
committerJan Safranek <jsafrane@redhat.com>2013-10-17 09:29:44 +0200
commit16c2ba76b27a3dc207231c9066ce6ff4af8fbd71 (patch)
tree5126a762a69691d26874bd3f09b1a4f487852af3 /src/service-dbus
parentfcc36e8a12e0cb87c8ca8297403cfc3dc29e68f6 (diff)
downloadopenlmi-providers-16c2ba76b27a3dc207231c9066ce6ff4af8fbd71.tar.gz
openlmi-providers-16c2ba76b27a3dc207231c9066ce6ff4af8fbd71.tar.xz
openlmi-providers-16c2ba76b27a3dc207231c9066ce6ff4af8fbd71.zip
Use the same heading, theme and conditional class tree and reference for all providers.
Diffstat (limited to 'src/service-dbus')
-rw-r--r--src/service-dbus/doc/source/conf.py10
-rw-r--r--src/service-dbus/doc/source/index.rst12
2 files changed, 15 insertions, 7 deletions
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
# "<project> v<release> 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