X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=psycopg2%2Fscripts%2Fmakedocs.py;fp=psycopg2%2Fscripts%2Fmakedocs.py;h=dcaa940af3143f7277cd5eb8ee34653746c22c71;hb=e5bdc26e1423689c0ab3204931335787737946ea;hp=0000000000000000000000000000000000000000;hpb=f8dd312990da7cc744e1c148bfd395c18492f3f1;p=plcapi.git diff --git a/psycopg2/scripts/makedocs.py b/psycopg2/scripts/makedocs.py new file mode 100755 index 0000000..dcaa940 --- /dev/null +++ b/psycopg2/scripts/makedocs.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python +"""Build documentation and api.""" + +import os + +EPYDOC = "python c:/programmi/python23/scripts/epydoc.py" +PSYCOPG = "c:/programmi/python23/lib/site-packages/psycopg2" + +os.system("python ext2html.py ../doc/extensions.rst > ../doc/extensions.html") +os.system("%s " + "-o ../doc/api " + "--css ../doc/api-screen.css " + "--docformat restructuredtext " + "%s" + % (EPYDOC,PSYCOPG,))