Skip to content

Commit

Permalink
fix kdoc Module
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed May 25, 2024
1 parent 6e0363a commit 32bc43a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Project https://github.com/simple-robot/simpler-robot
* Email [email protected]
*
* This file is part of the Simple Robot Library.
* This file is part of the Simple Robot Library (Alias: simple-robot, simbot, etc.).
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down Expand Up @@ -77,10 +77,11 @@ tasks.withType<org.jetbrains.dokka.gradle.DokkaTaskPartial>().configureEach {
} ?: JVMConstants.KT_JVM_TARGET_VALUE

jdkVersion.set(jdkVersionValue)
if (project.file("Module.md").exists()) {
includes.from("Module.md")
} else if (project.file("README.md").exists()) {
includes.from("README.md")
val moduleFile = project.file("Module.md")
if (moduleFile.exists()) {
if (moduleFile.length() > 0) {
includes.from("Module.md")
}
}

sourceLink {
Expand Down
Empty file.

0 comments on commit 32bc43a

Please sign in to comment.