summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeorg.brandl <devnull@localhost>2008-03-18 19:34:11 +0000
committergeorg.brandl <devnull@localhost>2008-03-18 19:34:11 +0000
commit8d09e328ae8d30a236aac0f66517cbeac5df2863 (patch)
treed88a91af6a4638088581469bca06129aaced2b13
parentd3bb509a2abf2ef03ca9698d202082aba8499a4a (diff)
downloadsphinx-8d09e328ae8d30a236aac0f66517cbeac5df2863.tar.gz
Move converter to its own dir.
-rw-r--r--convert.py25
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:])