diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-06-25 19:27:09 +0200 |
---|---|---|
committer | Paweł Marks <pmarks@virtuslab.com> | 2020-06-25 20:46:45 +0200 |
commit | 6d533d281163b6020adddc41bbfd3fd08309eb2a (patch) | |
tree | 2eed9e8cce8df0fedd118767dd3ad1dff9d8153b /plugins/base/src/main/kotlin/translators/documentables | |
parent | 19996f2e89baf7bdeb83ec709400980721d189ed (diff) | |
download | dokka-6d533d281163b6020adddc41bbfd3fd08309eb2a.tar.gz dokka-6d533d281163b6020adddc41bbfd3fd08309eb2a.tar.bz2 dokka-6d533d281163b6020adddc41bbfd3fd08309eb2a.zip |
Enforces directory for classlikes
Diffstat (limited to 'plugins/base/src/main/kotlin/translators/documentables')
-rw-r--r-- | plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt index 42db9a1d..a926857f 100644 --- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt +++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt @@ -35,8 +35,7 @@ open class DefaultPageCreator( open fun pageForPackage(p: DPackage): PackagePageNode = PackagePageNode( p.name, contentForPackage(p), setOf(p.dri), p, p.classlikes.map(::pageForClasslike) + - p.functions.map(::pageForFunction) + - p.typealiases.map(::pageForTypeAlias) + p.functions.map(::pageForFunction) ) open fun pageForEnumEntry(e: DEnumEntry): ClasslikePageNode = |