aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src
diff options
context:
space:
mode:
authorLukas Knoch-Girstmair <strangesource@users.noreply.github.com>2023-04-25 23:04:33 +0200
committerGitHub <noreply@github.com>2023-04-25 23:04:33 +0200
commit79aaba062ebcb9e22599263b0f2a9dee3be688d1 (patch)
tree16e6032ed3521b733893c07a861c5362cbc09c92 /plugins/base/src
parentfcb2f4ae72bdc62df37e61360d2d206c36717612 (diff)
downloaddokka-79aaba062ebcb9e22599263b0f2a9dee3be688d1.tar.gz
dokka-79aaba062ebcb9e22599263b0f2a9dee3be688d1.tar.bz2
dokka-79aaba062ebcb9e22599263b0f2a9dee3be688d1.zip
Replace invalid documentation links (#2973)
Diffstat (limited to 'plugins/base/src')
-rw-r--r--plugins/base/src/main/kotlin/parsers/moduleAndPackage/parseModuleAndPackageDocumentationFragments.kt2
-rw-r--r--plugins/base/src/test/kotlin/transformers/InvalidContentModuleAndPackageDocumentationReaderTest.kt2
2 files changed, 2 insertions, 2 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
)
}