summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py7
-rw-r--r--docs/pscripts/pcreate.rst5
2 files changed, 5 insertions, 7 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 12dd27722..5496452bd 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -51,11 +51,10 @@ book = os.environ.get('BOOK')
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
- 'sphinx.ext.intersphinx',
- 'sphinx.ext.todo',
- 'sphinx.ext.viewcode',
'repoze.sphinx.autointerface',
- 'sphinxcontrib.programoutput',
+ 'sphinx.ext.viewcode',
+ 'sphinx.ext.intersphinx',
+ 'sphinxcontrib.autoprogram',
# enable pylons_sphinx_latesturl when this branch is no longer "latest"
# 'pylons_sphinx_latesturl',
]
diff --git a/docs/pscripts/pcreate.rst b/docs/pscripts/pcreate.rst
index b5ec3f4e2..7159395b7 100644
--- a/docs/pscripts/pcreate.rst
+++ b/docs/pscripts/pcreate.rst
@@ -6,8 +6,7 @@
``pcreate``
-----------
-.. program-output:: pcreate --help
- :prompt:
- :shell:
+.. autoprogram:: pyramid.scripts.pcreate:PCreateCommand
+ :prog: pcreate.py
.. seealso:: :ref:`creating_a_project`