diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2015-04-28 09:30:59 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2015-04-28 09:32:58 +0100 |
commit | 0b523927bcb533fe7450f547c89f5b4a195e9b79 (patch) | |
tree | 312b146d7a46b3fb2b8e6eb2859e64a8c971c2fd /doc/README.rst | |
parent | 1e8be5bd097ca29e779a05c11b3ced3195aaa842 (diff) | |
download | psycopg2-0b523927bcb533fe7450f547c89f5b4a195e9b79.tar.gz |
Docs build process and docs cleaned up
Diffstat (limited to 'doc/README.rst')
-rw-r--r-- | doc/README.rst | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/README.rst b/doc/README.rst new file mode 100644 index 0000000..d64794c --- /dev/null +++ b/doc/README.rst @@ -0,0 +1,26 @@ +How to build psycopg documentation +---------------------------------- + +Building the documentation usually requires building the library too for +introspection, so you will need the same prerequisites_. The only extra +prerequisite is virtualenv_: the packages needed to build the docs will be +installed when building the env. + +.. _prerequisites: http://initd.org/psycopg/docs/install.html#install-from-source +.. _virtualenv: https://virtualenv.pypa.io/en/latest/ + +Build the env once with:: + + make env + +Then you can build the documentation with:: + + make + +Or the single targets:: + + make html + make text + +You should find the rendered documentation in the ``html`` dir and the text +file ``psycopg2.txt``. |