blob: 7ef279fbc34d10c3d36c1c2a49c16150f27130fd [file] [log] [blame] [view]
# Python API Docs
Documentation for the Python API is built with Sphinx under this directory.
When new versions are released, the documentation is generated and published
to [Read the Docs](https://readthedocs.org/projects/iree-python-api/).
## Building Docs
### Install IREE binaries
Either install python packages or, from the build directory:
```shell
export PYTHONPATH=$PWD/bindings/python:$PWD/compiler-api/python_package
```
### Install dependencies
```shell
python -m pip install -r requirements.txt
```
### Build docs
```shell
sphinx-build -b html . _build
```