aboutsummaryrefslogtreecommitdiff
path: root/plugins/all-modules-page/src
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-06-21 11:44:55 +0200
committerGitHub <noreply@github.com>2021-06-21 11:44:55 +0200
commit2832b9a111ba3af0212cbc180e8b1535b8359a15 (patch)
treef463b0e12e520659691d782697d3ba13b8c0bf45 /plugins/all-modules-page/src
parenta0b77276242ec227f98bf69ed878b9d71c1c5888 (diff)
downloaddokka-2832b9a111ba3af0212cbc180e8b1535b8359a15.tar.gz
dokka-2832b9a111ba3af0212cbc180e8b1535b8359a15.tar.bz2
dokka-2832b9a111ba3af0212cbc180e8b1535b8359a15.zip
Don't use older dir from previous runs in versioning (#1963)
Diffstat (limited to 'plugins/all-modules-page/src')
-rw-r--r--plugins/all-modules-page/src/main/kotlin/MultimodulePageCreator.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/all-modules-page/src/main/kotlin/MultimodulePageCreator.kt b/plugins/all-modules-page/src/main/kotlin/MultimodulePageCreator.kt
index 782ee16e..4285046a 100644
--- a/plugins/all-modules-page/src/main/kotlin/MultimodulePageCreator.kt
+++ b/plugins/all-modules-page/src/main/kotlin/MultimodulePageCreator.kt
@@ -63,7 +63,7 @@ class MultimodulePageCreator(
header(2, "All modules:")
table(styles = setOf(MultimoduleTable)) {
header { group { text("Name") } }
- modules.filter { it.name in creationContext.nonEmptyModules }.sortedByDescending { it.name }
+ modules.filter { it.name in creationContext.nonEmptyModules }.sortedBy { it.name }
.forEach { module ->
val displayedModuleDocumentation = getDisplayedModuleDocumentation(module)
val dri = DRI(packageName = MULTIMODULE_PACKAGE_PLACEHOLDER, classNames = module.name)