Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed Jan 17, 2024
1 parent a2b0841 commit 1c58360
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import org.jetbrains.dokka.gradle.dsl.plugins.DokkaPluginsContainer
@DokkaGradlePluginDsl
public interface DokkaAggregationExtension {
public val includedDocumentation: ConfigurableFileCollection
public fun includeDocumentation(text: String)
public fun includeDocumentationFrom(path: Any)
public fun moduleDocumentation(text: String)
public fun moduleDocumentationFrom(path: Any)

// TODO: this is rather adhoc, though, not a lot of use cases...
// need better naming
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fun Project.configureSomething() {
aggregation.includeSubprojects()
includeSubprojects()

includeDocumentation("")
moduleDocumentation("")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ fun Project.task5() {

dokka {
// or from file (more complex way)
includeDocumentation(
moduleDocumentation(
"""
This is the documentation for the module.
This text helps users of the API understand what is the purpose of the module, its structure, and usage samples.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ fun Project.task5_2() {
// or just in subprojectA build file
dokka {
// or from file (more complex way)
includeDocumentation(
moduleDocumentation(
"""
This is the documentation for the module.
This text helps users of the API understand what is the purpose of the module, its structure, and usage samples.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ fun settings_task5(
// TODO: what should we match here
perModule(":subprojectA") {
// or from file (more complex way)
includeDocumentation(
moduleDocumentation(
"""
This is the documentation for the module.
This text helps users of the API understand what is the purpose of the module, its structure, and usage samples.
Expand Down

0 comments on commit 1c58360

Please sign in to comment.