blob: 1dd0567f16857962bd09e750411173ae6913d5e6 [file] [log] [blame] [view]
Stella Laurenzo0ff6e5f2021-09-25 20:08:20 -07001# Python API Docs
2
3Documentation for the Python API is built with Sphinx under this directory.
4When new versions are released, the documentation is generated and published
5to the website.
6
7## Building Docs
8
9### Install IREE binaries
10
11Either install python packages or, from the build directory:
12
13```shell
14export PYTHONPATH=$PWD/bindings/python:$PWD/compiler-api/python_package
15```
16
17### Install dependencies
18
19```shell
20python -m pip install -r requirements.txt
21```
22
23
24### Build docs
25
26```shell
27sphinx-build -b html . _build
28```