mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +03:00
ad76b5ba3c
* fixed lots of doctrings and added Epydoc-generated docs support.
16 lines
450 B
Python
Executable File
16 lines
450 B
Python
Executable File
#!/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,))
|