summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-11-25 14:58:20 -0800
committerSteve Piercy <web@stevepiercy.com>2016-11-25 14:58:20 -0800
commitbf5c9eaa7e9041fe76cafddf7bad0f397899a6e9 (patch)
tree4441650fb23e291ba31aceb99fab1df1b03f65f2 /docs/conf.py
parent88dd1fc665b0f2f87e276dde85f4df53d88c6898 (diff)
downloadpyramid-bf5c9eaa7e9041fe76cafddf7bad0f397899a6e9.tar.gz
pyramid-bf5c9eaa7e9041fe76cafddf7bad0f397899a6e9.tar.bz2
pyramid-bf5c9eaa7e9041fe76cafddf7bad0f397899a6e9.zip
add todo Sphinx extension for todo blocks
- add lists, tables, danger, todo, comments
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index ace921247..0e3f03068 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -51,9 +51,10 @@ book = os.environ.get('BOOK')
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
- 'repoze.sphinx.autointerface',
- 'sphinx.ext.viewcode',
'sphinx.ext.intersphinx',
+ 'sphinx.ext.todo',
+ 'sphinx.ext.viewcode',
+ 'repoze.sphinx.autointerface',
'sphinxcontrib.programoutput',
# enable pylons_sphinx_latesturl when this branch is no longer "latest"
# 'pylons_sphinx_latesturl',
@@ -120,6 +121,9 @@ exclude_patterns = ['_themes/README.rst', ]
# unit titles (such as .. function::).
add_module_names = False
+# Add support for todo items
+todo_include_todos = True
+
# The name of the Pygments (syntax highlighting) style to use.
#pygments_style = book and 'bw' or 'tango'
if book: