PublishDsl
DSL for pages-publishing configuration.
Configured via stigProject { publish { ... } } in root build.gradle.kts. Controls where stigPublishHtml publishes the rendered Dokka HTML site while reducing the Pages branch to one parentless commit.
Example:
stigProject {
publish {
remote = "origin"
pagesBranch = "github_pages"
pagesSubdir = "stig-project"
publishedBaseUrl = "https://pages.example.com/my-project"
}
}Properties
Branch replaced with one complete parentless GitHub Pages commit (e.g. "github_pages" or "gh-pages").
Subdirectory within the pages branch for this project's docs.
Pages deployment layout. GitLab CI serves the exported subtree at the artifact root.
Configured default for replacing the owned Pages subtree before publication.
Configured default for pruning all snapshots before publication.
Report version shown by Dokka; defaults lazily to rootProject.version.
Public base URL of the published site (for link logging).
Configured default for deliberately replacing the same named release.