diff options
| author | georg.brandl <devnull@localhost> | 2008-03-18 19:34:11 +0000 |
|---|---|---|
| committer | georg.brandl <devnull@localhost> | 2008-03-18 19:34:11 +0000 |
| commit | 8d09e328ae8d30a236aac0f66517cbeac5df2863 (patch) | |
| tree | d88a91af6a4638088581469bca06129aaced2b13 | |
| parent | d3bb509a2abf2ef03ca9698d202082aba8499a4a (diff) | |
| download | sphinx-8d09e328ae8d30a236aac0f66517cbeac5df2863.tar.gz | |
Move converter to its own dir.
| -rw-r--r-- | convert.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/convert.py b/convert.py deleted file mode 100644 index 9b48e3e5..00000000 --- a/convert.py +++ /dev/null @@ -1,25 +0,0 @@ -# -*- coding: utf-8 -*- -""" - Convert the Python documentation to Sphinx - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - :copyright: 2007-2008 by Georg Brandl. - :license: BSD. -""" - -import sys -import os - -from converter import convert_dir - -if __name__ == '__main__': - try: - rootdir = sys.argv[1] - destdir = os.path.abspath(sys.argv[2]) - except IndexError: - print "usage: convert.py docrootdir destdir" - sys.exit() - - assert os.path.isdir(os.path.join(rootdir, 'texinputs')) - os.chdir(rootdir) - convert_dir(destdir, *sys.argv[3:]) |
