Merge from trunk
[plcapi.git] / trunk / psycopg2 / scripts / makedocs.py
diff --git a/trunk/psycopg2/scripts/makedocs.py b/trunk/psycopg2/scripts/makedocs.py
new file mode 100755 (executable)
index 0000000..dcaa940
--- /dev/null
@@ -0,0 +1,15 @@
+#!/usr/bin/env python\r
+"""Build documentation and api."""\r
+\r
+import os\r
+\r
+EPYDOC = "python c:/programmi/python23/scripts/epydoc.py"\r
+PSYCOPG = "c:/programmi/python23/lib/site-packages/psycopg2"\r
+\r
+os.system("python ext2html.py ../doc/extensions.rst > ../doc/extensions.html")\r
+os.system("%s "\r
+          "-o ../doc/api "\r
+          "--css ../doc/api-screen.css "\r
+          "--docformat restructuredtext " \r
+          "%s"\r
+    % (EPYDOC,PSYCOPG,))\r