Created
February 21, 2024 21:46
-
-
Save MkhytarMkhoian/689ec449f99ede71b9d4f239256cc587 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 mkdocs-redirects | |
set -ex | |
# Generate the API docs | |
./gradlew dokkaHtmlMultiModule | |
#mv ./build/dokka/api android-docs/docs | |
# Build the site locally | |
cd ./android-docs | |
python3 -m venv venv | |
source venv/bin/activate | |
pip3 install mkdocs-material | |
mkdocs build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment