This module contains developer documentation which is published to GitHub pages: kotlin.github.io/dokka.
It is built using the gradle-mkdocs-plugin.
You can build the documentation locally:
./gradlew :docs-developer:mkdocsBuild
The output directory is build/mkdocs
.
Alternatively, you can use Docker:
docker run --rm -it -p 8000:8000 -v ./docs-developer/src/doc:/docs squidfunk/mkdocs-material
This will build the docs and start a web server under localhost:8000/Kotlin/dokka.
Alternatively, you can run a livereload server that automatically rebuilds documentation on every change:
./gradlew :docs-developer:mkdocsServe
By default, it is run under localhost:3001, but you can change it in
mkdocs.yml by setting the dev_addr
option.
The documentation is published automatically for all changes in master and for every GitHub release.
See gh-pages.yml workflow configuration for more details.