diff options
author | gbrandl <gbrandl@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2007-05-24 19:58:21 +0000 |
---|---|---|
committer | gbrandl <gbrandl@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2007-05-24 19:58:21 +0000 |
commit | 68c6e492d3cc9dc959ce97d693a5d757b53e1566 (patch) | |
tree | c50a90940c7ea73da1c736eb82b3665b5a09eb6c /sandbox/py-rest-doc/sphinx-build.py | |
parent | 2e3b812ff5931b954a04eff90ed8fec0bac9563f (diff) | |
download | docutils-68c6e492d3cc9dc959ce97d693a5d757b53e1566.tar.gz |
Rename build script.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5133 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'sandbox/py-rest-doc/sphinx-build.py')
-rw-r--r-- | sandbox/py-rest-doc/sphinx-build.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sandbox/py-rest-doc/sphinx-build.py b/sandbox/py-rest-doc/sphinx-build.py new file mode 100644 index 000000000..ab356f6f2 --- /dev/null +++ b/sandbox/py-rest-doc/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) |