summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-11-27 12:13:30 -0800
committerSteve Piercy <web@stevepiercy.com>2016-12-13 16:24:38 -0800
commitb7f994c9d13e70b597f42bce49ca6389cd21e2b2 (patch)
tree5e7fc31a412a1e434b2d1f96af3d2f9df7a9aca8 /docs
parent81c5b3d3462f08cf5f1b4f5b3a593dba4632670f (diff)
downloadpyramid-b7f994c9d13e70b597f42bce49ca6389cd21e2b2.tar.gz
pyramid-b7f994c9d13e70b597f42bce49ca6389cd21e2b2.tar.bz2
pyramid-b7f994c9d13e70b597f42bce49ca6389cd21e2b2.zip
convert pcreate and pdistreport to use argparse
- add sphinxcontrib-autoprogram - attempt to render output of pcreate, but be unsuccessful
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`