This directory contains the code for the Avatica web site, a sub-directory of the Apache Calcite web site.
You can build the site manually using your environment or use the docker compose file.
The site is automatically built and published following the process outlined in the Calcite repository.
Similar to the instructions to set up the Calcite web site.
Site generation currently works best with ruby-2.7.4.
cd site
git clone https://gitbox.apache.org/repos/asf/calcite-site.git target
. The site will be generated to target/avatica, so it will be ready for commit.sudo apt-get install rubygems ruby2.7-dev zlib1g-dev
(linux)sudo gem install bundler
- Add avatica-go content:
./add-avatica-go-docs.sh
bundle install
cd $avatica_project_directory
./gradlew javadocAggregate # the result is placed to build/docs/javadocAggregate
Before opening a pull request, you can preview your contributions by running from within the directory:
bundle exec jekyll serve
- Open http://localhost:4000/avatica/ (note the trailing slash)
bundle exec jekyll build
- The result is produced to
target/avatica
- Install docker
- Install docker compose v2
cd site
docker compose run build-site
cd site
docker compose run generate-javadoc
You can preview your work while working on the site.
cd site
docker compose run --service-ports dev
The web server will be started on http://localhost:4000/avatica/ (note the trailing slash)
As you make changes to the site, the site will automatically rebuild.