Salome HOME
SPO - Modifications to enable auto documentation of Python code
[tools/sat.git] / doc / source / conf.py
index f85e513100cfab6569a2cf6b0983e04b37feb2fc..39d111727c3a5b7ccd9fcc8f7ace3b479f94aeb3 100644 (file)
@@ -26,7 +26,7 @@ import os
 
 # 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']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
@@ -117,7 +117,7 @@ html_theme = 'default'
 # The name of an image file (within the static path) to use as favicon of the
 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
 # pixels large.
-html_favicon = "images/salomeTools.ico"
+#html_favicon = "images/salomeTools.ico"
 
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
@@ -216,3 +216,6 @@ man_pages = [
     ('index', 'salometools', u'salomeTools Documentation',
      [u'CEA'], 1)
 ]
+
+# Append source folder to path in order to enable autodoc
+sys.path.append(os.path.join('..'))
\ No newline at end of file