diff options
author | georg.brandl <devnull@localhost> | 2007-07-23 09:02:25 +0000 |
---|---|---|
committer | georg.brandl <devnull@localhost> | 2007-07-23 09:02:25 +0000 |
commit | e3849b67f258a091ff65c3be7c3f8e51f9887466 (patch) | |
tree | eccdde90eb4474e1fab81461048de618c4fc6b80 /sphinx-build.py | |
parent | 0ba2909ce4bfd561a9054b927e984cbdfaa4161d (diff) | |
download | sphinx-e3849b67f258a091ff65c3be7c3f8e51f9887466.tar.gz |
Initial import of the doc tools.
Diffstat (limited to 'sphinx-build.py')
-rw-r--r-- | sphinx-build.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sphinx-build.py b/sphinx-build.py new file mode 100644 index 00000000..ab356f6f --- /dev/null +++ b/sphinx-build.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +""" + Sphinx - Python documentation toolchain + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + :copyright: 2007 by Georg Brandl. + :license: Python license. +""" + +import sys + +if __name__ == '__main__': + from sphinx import main + try: + sys.exit(main(sys.argv)) + except Exception: + import traceback + traceback.print_exc() + import pdb + pdb.post_mortem(sys.exc_traceback) |