diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2005-11-26 07:47:48 +0000 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2005-11-26 07:47:48 +0000 |
commit | ad76b5ba3cc01b658e31fb3c4e94340ba0f884d9 (patch) | |
tree | 0d6cb668b60959bb67b90508e9e1191e470fb6af /scripts/makedocs.py | |
parent | 62e4870b85627e005746aa5c50327dad801164d6 (diff) | |
download | psycopg2-ad76b5ba3cc01b658e31fb3c4e94340ba0f884d9.tar.gz |
* psycopg/psycopgmodule.c: fixed exceptions refcount.
* fixed lots of doctrings and added Epydoc-generated docs support.
Diffstat (limited to 'scripts/makedocs.py')
-rwxr-xr-x | scripts/makedocs.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/makedocs.py b/scripts/makedocs.py new file mode 100755 index 0000000..dcaa940 --- /dev/null +++ b/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,))
|