diff options
| author | Steve Piercy <web@stevepiercy.com> | 2016-12-08 15:35:28 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-08 15:35:28 -0800 |
| commit | 05467bdf20f28e47bffb3d236fb93b44ca293091 (patch) | |
| tree | 9c926105af9919579b19a046db53217c0691a366 /docs/conf.py | |
| parent | 1154ebf6ae89c200b4be19831377472b19fdf7dd (diff) | |
| parent | e5add4c591bde659f050adca1ad6934674822525 (diff) | |
| download | pyramid-05467bdf20f28e47bffb3d236fb93b44ca293091.tar.gz pyramid-05467bdf20f28e47bffb3d236fb93b44ca293091.tar.bz2 pyramid-05467bdf20f28e47bffb3d236fb93b44ca293091.zip | |
Merge pull request #2838 from Pylons/style-guide
Overhaul Style Guide
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py index 84fd5cf1b..12dd27722 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', @@ -68,6 +69,7 @@ intersphinx_mapping = { 'pylonswebframework': ('http://docs.pylonsproject.org/projects/pylons-webframework/en/latest/', None), 'python': ('https://docs.python.org/3', None), 'pytest': ('http://pytest.org/latest/', None), + 'sphinx': ('http://www.sphinx-doc.org/en/latest', None), 'sqla': ('http://docs.sqlalchemy.org/en/latest', None), 'tm': ('http://docs.pylonsproject.org/projects/pyramid-tm/en/latest/', None), 'toolbar': ('http://docs.pylonsproject.org/projects/pyramid-debugtoolbar/en/latest', None), @@ -119,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: |
