blob: 5dcb42cd3ad60c9cec90eecd6c5564a7975d1ec2 [file] [log] [blame]
#!/bin/bash
# The website is built using MkDocs with the Material theme.
# https://squidfunk.github.io/mkdocs-material/
# It requires Python to run.
# Install the packages with the following command:
# pip install mkdocs mkdocs-material
set -ex
# Generate the API docs
./gradlew okio:dokkaHtml
# Copy in special files that GitHub wants in the project root.
cp CHANGELOG.md docs/changelog.md
cp CONTRIBUTING.md docs/contributing.md