android13/external/okio/.buildscript/prepare_mkdocs.sh

17 lines
435 B
Bash
Executable File

#!/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