1 # -*- coding: utf-8 -*-
3 Convert the Python documentation to Sphinx
4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 :copyright: 2007 by Georg Brandl.
7 :license: Python license.
13 from converter
import convert_dir
15 if __name__
== '__main__':
18 destdir
= os
.path
.abspath(sys
.argv
[2])
20 print "usage: convert.py docrootdir destdir"
23 assert os
.path
.isdir(os
.path
.join(rootdir
, 'texinputs'))
25 convert_dir(destdir
, *sys
.argv
[3:])