Skip to content

Commit

Permalink
[Gradle] Update info about versioning
Browse files Browse the repository at this point in the history
 ^KT-73076 Fixed
  • Loading branch information
Tapchicoma authored and qodana-bot committed Nov 14, 2024
1 parent a7dabb6 commit b21df7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/tools/gradle/documentation/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 5,9 @@ This project assembles API reference for Kotlin Gradle plugins to publish it to
### Configuration

- `build/templates` dir is used for Kotlinlang website templates. Currently, they should be put there manually.
- `build/documentation/kotlinlangOld` directory is used for previously generated documentation.
Inside the structure of subdirectories
should follow [this specification](https://github.com/Kotlin/dokka/tree/1.9.20/dokka-subprojects/plugin-versioning#directory-structure).

### Assembling

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 71,8 @@ tasks.register<org.jetbrains.dokka.gradle.DokkaMultiModuleTask>("dokkaKotlinlang
"org.jetbrains.dokka.base.DokkaBase",
"{ \"templatesDir\": \"${unzipTemplates.map { it.destinationDir }.get().also { it.mkdirs() }}\" }"
)

// Documentation: https://github.com/Kotlin/dokka/tree/1.9.20/dokka-subprojects/plugin-versioning
pluginsMapConfiguration.put(
"org.jetbrains.dokka.versioning.VersioningPlugin",
documentationExtension.documentationOldVersions.map { olderVersionsDir ->
Expand Down

0 comments on commit b21df7b

Please sign in to comment.