Skip to content

Commit

Permalink
Add module documentations
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Sep 12, 2023
1 parent 5acfa3e commit 73f2262
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion buildSrc/src/main/kotlin/kord-publishing.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ tasks {
suppressGeneratedFiles = false
jdkVersion = 8

includes.from(layout.projectDirectory.file("README.md"))
val readme = layout.projectDirectory.file("README.md").asFile
if (readme.exists()) {
includes.from(readme)
}

externalDocumentationLink("https://square.github.io/kotlinpoet/1.x/kotlinpoet/kotlinpoet/")

Expand Down
2 changes: 1 addition & 1 deletion kotlinpoet/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# kotlinpoet
# Module kotlinpoet

Please refer to the [KotlinPoet module documentation](https://codegen.kord.dev/kotlinpoet.html)
2 changes: 1 addition & 1 deletion ksp/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# ksp
# Module ksp

Please refer to the [KSP module documentation](https://codegen.kord.dev/ksp.html)

0 comments on commit 73f2262

Please sign in to comment.