It's recommended to install build dependencies and build the documentation inside a Python virtualenv.
- Python
pip install -r requirements.txt
make htmlThe documentation is served through the arrow-site repo. To release a new version of the docs, follow these steps:
- Run
make htmlinsidedocsfolder to generate the docs website inside thebuild/htmlfolder. - Clone the arrow-site repo
- Checkout to the
asf-sitebranch (NOTmaster) - Copy build artifacts into
arrow-siterepo'sdatafusionfolder with a command such as
cp -rT ./build/html/ ../../arrow-site/datafusion/(doesn't work on mac)rsync -avzr ./build/html/ ../../arrow-site/datafusion/
- Commit changes in
arrow-siteand send a PR.