summaryrefslogtreecommitdiff
path: root/doc/man
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-10-07 12:27:19 +0200
committerGeorg Brandl <georg@python.org>2011-10-07 12:27:19 +0200
commit43d3cb3d33ea2952cef731d1cca70da8636be23c (patch)
tree54c03f77ee13c51eba0db1748b1e6a390a92ae8f /doc/man
parent39f990b9666b9814247fbcd165f53015afe2cd0a (diff)
downloadsphinx-43d3cb3d33ea2952cef731d1cca70da8636be23c.tar.gz
Add a rudimentary manpage for sphinx-apidoc.
Diffstat (limited to 'doc/man')
-rw-r--r--doc/man/sphinx-apidoc.rst52
1 files changed, 52 insertions, 0 deletions
diff --git a/doc/man/sphinx-apidoc.rst b/doc/man/sphinx-apidoc.rst
new file mode 100644
index 00000000..4b65cc63
--- /dev/null
+++ b/doc/man/sphinx-apidoc.rst
@@ -0,0 +1,52 @@
+:orphan:
+
+sphinx-apidoc manual page
+=========================
+
+Synopsis
+--------
+
+**sphinx-apidoc** [*options*] -o <*outputdir*> <*sourcedir*> [*filenames* ...]
+
+
+Description
+-----------
+
+:program:`sphinx-apidoc` is a tool for automatic generation of Sphinx sources
+that, using the autodoc extension, document a whole package in the style of
+other automatic API documentation tools.
+
+
+Options
+-------
+
+-o <outputdir> Directory to place the output files. If it does not exist,
+ it is created.
+-f, --force Usually, apidoc does not overwrite files, unless this option
+ is given.
+-n, --dry-run If given, apidoc does not create any files.
+-s <suffix> Suffix for the source files generated, default is ``rst``.
+-d <maxdepth> Maximum depth for the generated table of contents file.
+-T, --no-toc Do not create a table of contents file.
+-F, --full If given, a full Sphinx project is generated (``conf.py``,
+ ``Makefile`` etc.) using sphinx-quickstart.
+
+These options are used with ``-F``:
+
+-H <project> Project name to put into the configuration.
+-A <author> Author name(s) to put into the configuration.
+-V <version> Project version, see :confval:`release`.
+-R <release> Project release, see :confval:`release`.
+
+
+See also
+--------
+
+:manpage:`sphinx-build(1)`
+
+
+Author
+------
+
+Etienne Desautels, <etienne.desautels@gmail.com>, Georg Brandl
+<georg@python.org> et al.