]> scripts.mit.edu Git - wizard.git/blobdiff - doc/conf.py
Handle Wordpress random keys correctly on install and upgrade.
[wizard.git] / doc / conf.py
index 67d0ea7c723b23c5f66e8d6924a46cbbd9812abf..8379d76a61c5a9ddc34b04f41346a7220da07b84 100644 (file)
@@ -24,7 +24,15 @@ sys.path.append(os.path.abspath('..'))
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.doctest']
+extensions = [
+    'sphinx.ext.autodoc',
+    'sphinx.ext.coverage',
+    'sphinx.ext.doctest',
+    'sphinx.ext.graphviz',
+    'sphinx.ext.intersphinx',
+    'sphinx.ext.todo',
+    'wizard.sphinx.supplement',
+    ]
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
@@ -88,6 +96,9 @@ pygments_style = 'sphinx'
 # A list of ignored prefixes for module index sorting.
 #modindex_common_prefix = []
 
+# Classes to ignore for coverage reporting
+coverage_ignore_classes = ['ProductionCopy', 'WorkingCopy', 'Dialog', 'Prompt', 'FailPrompt']
+
 
 # -- Options for HTML output ---------------------------------------------------
 
@@ -95,6 +106,8 @@ pygments_style = 'sphinx'
 # Sphinx are currently 'default' and 'sphinxdoc'.
 html_theme = 'default'
 
+html_style = 'wizard.css'
+
 # 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
 # documentation.
@@ -194,3 +207,10 @@ latex_documents = [
 
 # If false, no module index is generated.
 #latex_use_modindex = True
+
+intersphinx_mapping = {
+    'http://docs.python.org/dev': None,
+    'http://www.sqlalchemy.org/docs/05': None,
+    }
+
+todo_include_todos = True