tree: ee326bea61d15f0c0f0a2ebe4b4fffc3b36ba7db [path history] [tgz]
  1. source/
  2. .gitignore
  3. build.sh
  4. make.bat
  5. Makefile
  6. README.md
  7. requirements.txt
docs/README.md

DataFusion Documentation

This folder contains the source content of the User Guide and Contributor Guide. These are both published to https://arrow.apache.org/datafusion/ as part of the release process.

Dependencies

It's recommended to install build dependencies and build the documentation inside a Python virtualenv.

  • Python
  • pip install -r requirements.txt

Build & Preview

Run 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

Release Process

The documentation is served through the arrow-site repo. To release a new version of the docs, follow these steps:

  1. Run ./build.sh inside docs folder to generate the docs website inside the build/html folder.
  2. Clone the arrow-site repo
  3. Checkout to the asf-site branch (NOT master)
  4. Copy build artifacts into arrow-site repo's datafusion folder with a command such as
  • cp -rT ./build/html/ ../../arrow-site/datafusion/ (doesn't work on mac)
  • rsync -avzr ./build/html/ ../../arrow-site/datafusion/
  1. Commit changes in arrow-site and send a PR.