This folder contains the source content of the python api. This is published to https://arrow.apache.org/datafusion-python/ by a GitHub action when changes are merged to the main branch.
It's recommended to install build dependencies and build the documentation inside a Python virtualenv.
pip3 install -r requirements.txtRun the provided script to build the HTML pages.
./build.sh
The HTML will be generated into a build directory.
Preview the site on Linux by running this command.
firefox build/html/index.html
The documentation is served through the arrow-site repo. To release a new version of the docs, follow these steps:
./build.sh inside docs folder to generate the docs website inside the build/html folder.asf-site branch (NOT master)arrow-site repo's datafusion folder with a command such ascp -rT ./build/html/ ../../arrow-site/datafusion/ (doesn't work on mac)rsync -avzr ./build/html/ ../../arrow-site/datafusion/arrow-site and send a PR.