This directory contains the python-oracledb documentation source. It is written using reST (re-Structured Text). The source files are processed using Sphinx and can be turned into HTML, PDF or ePub documentation.
Visit https://python-oracledb.readthedocs.io/ for pre-built production and development python-oracledb documentation
To build the documentation locally:
-
Install Sphinx and the Read the Docs theme using the Python package manager
pip, for example:python -m pip install --upgrade -r requirements.txtYou can alternatively install these from pre-built packages for your operating system.
-
The "oracledb" module must be built and importable. This is needed for the "autodoc" extension to create function signature documentation.
-
Once Sphinx is installed, and "oracledb" can be imported by Python, use the Makefile to build your desired documentation format.
To build the HTML documentation:
makeTo make ePub documentation:
make epubTo make PDF documentation:
make pdfThe program
latexmkmay be required by Sphinx to generate PDF output.