aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin/allModulePage
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2020-10-07 14:40:09 +0200
committerKamil Doległo <9080183+kamildoleglo@users.noreply.github.com>2020-10-08 19:05:41 +0200
commit0d2ee179b6563020874db9f60906fb16b6ae1556 (patch)
treed55f43d48eea5966d312a8fe169cf1b493ce927d /plugins/base/src/main/kotlin/allModulePage
parent4331d1b816c30731842ab36827bbc1a4a9b292b3 (diff)
downloaddokka-0d2ee179b6563020874db9f60906fb16b6ae1556.tar.gz
dokka-0d2ee179b6563020874db9f60906fb16b6ae1556.tar.bz2
dokka-0d2ee179b6563020874db9f60906fb16b6ae1556.zip
Add information about content kind and sourceset to anchor
Diffstat (limited to 'plugins/base/src/main/kotlin/allModulePage')
-rw-r--r--plugins/base/src/main/kotlin/allModulePage/MultimodulePageCreator.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/allModulePage/MultimodulePageCreator.kt b/plugins/base/src/main/kotlin/allModulePage/MultimodulePageCreator.kt
index 5ae8f04a..80a06a89 100644
--- a/plugins/base/src/main/kotlin/allModulePage/MultimodulePageCreator.kt
+++ b/plugins/base/src/main/kotlin/allModulePage/MultimodulePageCreator.kt
@@ -48,7 +48,7 @@ class MultimodulePageCreator(
val displayedModuleDocumentation = getDisplayedModuleDocumentation(module)
val dri = DRI(packageName = MULTIMODULE_PACKAGE_PLACEHOLDER, classNames = module.name)
val dci = DCI(setOf(dri), ContentKind.Comment)
- val extraWithAnchor = PropertyContainer.withAll(SymbolAnchorHint(module.name))
+ val extraWithAnchor = PropertyContainer.withAll(SymbolAnchorHint(module.name, ContentKind.Main))
val header = linkNode(module.name, dri, DCI(setOf(dri), ContentKind.Main), extra = extraWithAnchor)
val content = ContentGroup(
children =