summaryrefslogtreecommitdiff
path: root/sphinx-apidoc.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-04 19:20:22 +0100
committerGeorg Brandl <georg@python.org>2011-01-04 19:20:22 +0100
commit87cebf1a070a2c8956ef2939f43d53bf826600e9 (patch)
treea0263d75079f552421e386174fd19bb66b3a7ce3 /sphinx-apidoc.py
parentc5eee59f9244c275034b9554d6453fa23d2a9729 (diff)
downloadsphinx-git-87cebf1a070a2c8956ef2939f43d53bf826600e9.tar.gz
#98: Add autopackage script. (Undocumented for now.)
Diffstat (limited to 'sphinx-apidoc.py')
-rwxr-xr-xsphinx-apidoc.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/sphinx-apidoc.py b/sphinx-apidoc.py
new file mode 100755
index 000000000..9cafb497d
--- /dev/null
+++ b/sphinx-apidoc.py
@@ -0,0 +1,15 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+"""
+ Sphinx - Python documentation toolchain
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+ :copyright: Copyright 2007-2011 by the Sphinx team, see AUTHORS.
+ :license: BSD, see LICENSE for details.
+"""
+
+import sys
+
+if __name__ == '__main__':
+ from sphinx.apidoc import main
+ sys.exit(main(sys.argv))