This branch contains the generated API documentation for the project.
-
Tool Used:
The documentation is generated using Dokka. -
Trigger:
Documentation is generated automatically by a GitHub Actions workflow whenever a new version tag (e.g.,1.0.0
) is pushed to the repository. -
Process:
docs
branch is checked out to./docs
directory.{latest_version}
tag is checked out to./code
directory.- Both
./docs/history
and./docs/current
are copied to./code/docs/dokka
directory. This is required to preserve historical documentation. - Dokka is executed to generate HTML documentation in the
./code/docs/dokka
directory. - Both subdirectories from
./code/docs/dokka/
are copied to the root of the./docs
directory. - The changes in
./docs
are committed and pushed to thedocs
branch.
-
Versioned History:
Historical documentation is preserved for each release underhistory/<version>
. This allows users to browse API documentation for any version of the project.