diff options
author | Lukas Knoch-Girstmair <strangesource@users.noreply.github.com> | 2023-04-25 23:04:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-25 23:04:33 +0200 |
commit | 79aaba062ebcb9e22599263b0f2a9dee3be688d1 (patch) | |
tree | 16e6032ed3521b733893c07a861c5362cbc09c92 | |
parent | fcb2f4ae72bdc62df37e61360d2d206c36717612 (diff) | |
download | dokka-79aaba062ebcb9e22599263b0f2a9dee3be688d1.tar.gz dokka-79aaba062ebcb9e22599263b0f2a9dee3be688d1.tar.bz2 dokka-79aaba062ebcb9e22599263b0f2a9dee3be688d1.zip |
Replace invalid documentation links (#2973)
5 files changed, 5 insertions, 5 deletions
diff --git a/plugins/base/src/main/kotlin/parsers/moduleAndPackage/parseModuleAndPackageDocumentationFragments.kt b/plugins/base/src/main/kotlin/parsers/moduleAndPackage/parseModuleAndPackageDocumentationFragments.kt index edfc04a5..d3381901 100644 --- a/plugins/base/src/main/kotlin/parsers/moduleAndPackage/parseModuleAndPackageDocumentationFragments.kt +++ b/plugins/base/src/main/kotlin/parsers/moduleAndPackage/parseModuleAndPackageDocumentationFragments.kt @@ -31,7 +31,7 @@ private fun parseModuleAndPackageDocFragment( "Package" -> Package else -> throw IllegalStateException( """Unexpected classifier: "${classifierAndName[0]}", expected either "Module" or "Package". - |For more information consult the specification: https://kotlinlang.org/docs/reference/dokka-module-and-package-docs.html""".trimMargin() + |For more information consult the specification: https://kotlinlang.org/docs/dokka-module-and-package-docs.html""".trimMargin() ) } diff --git a/plugins/base/src/test/kotlin/transformers/InvalidContentModuleAndPackageDocumentationReaderTest.kt b/plugins/base/src/test/kotlin/transformers/InvalidContentModuleAndPackageDocumentationReaderTest.kt index aa0b16ca..59c83b7d 100644 --- a/plugins/base/src/test/kotlin/transformers/InvalidContentModuleAndPackageDocumentationReaderTest.kt +++ b/plugins/base/src/test/kotlin/transformers/InvalidContentModuleAndPackageDocumentationReaderTest.kt @@ -75,7 +75,7 @@ class InvalidContentModuleAndPackageDocumentationReaderTest : AbstractContextMod runCatching { readerA[dModule(name = "moduleA", sourceSets = setOf(sourceSetA))] }.exceptionOrNull() assertEquals( "Unexpected classifier: \"Invalid\", expected either \"Module\" or \"Package\". \n" + - "For more information consult the specification: https://kotlinlang.org/docs/reference/dokka-module-and-package-docs.html", + "For more information consult the specification: https://kotlinlang.org/docs/dokka-module-and-package-docs.html", exception?.message ) } diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleDokkaSourceSetBuilder.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleDokkaSourceSetBuilder.kt index 1a19d0bb..e27fee30 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleDokkaSourceSetBuilder.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/GradleDokkaSourceSetBuilder.kt @@ -69,7 +69,7 @@ open class GradleDokkaSourceSetBuilder( /** * List of Markdown files that contain - * [module and package documentation](https://kotlinlang.org/docs/reference/dokka-module-and-package-docs.html). + * [module and package documentation](https://kotlinlang.org/docs/dokka-module-and-package-docs.html). * * Contents of specified files will be parsed and embedded into documentation as module and package descriptions. * diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/tasks/DokkaMultiModuleTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/tasks/DokkaMultiModuleTask.kt index 0a55f130..c1697ac1 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/tasks/DokkaMultiModuleTask.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/tasks/DokkaMultiModuleTask.kt @@ -24,7 +24,7 @@ abstract class DokkaMultiModuleTask : AbstractDokkaParentTask() { /** * List of Markdown files that contain - * [module and package documentation](https://kotlinlang.org/docs/reference/dokka-module-and-package-docs.html). + * [module and package documentation](https://kotlinlang.org/docs/dokka-module-and-package-docs.html). * * Contents of specified files will be parsed and embedded into documentation as module and package descriptions. * diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt index bb955ffd..c82f1b59 100644 --- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt +++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt @@ -66,7 +66,7 @@ abstract class AbstractDokkaMojo(private val defaultDokkaPlugins: List<Dependenc /** * List of Markdown files that contain - * [module and package documentation](https://kotlinlang.org/docs/reference/dokka-module-and-package-docs.html). + * [module and package documentation](https://kotlinlang.org/docs/dokka-module-and-package-docs.html). * * Contents of specified files will be parsed and embedded into documentation as module and package descriptions. * |