Skip to content

Commit

Permalink
Fix order of extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
romanowski committed Oct 21, 2020
1 parent 0b3d947 commit dfc9371
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ repositories {
mavenCentral()
maven(url = "https://dl.bintray.com/kotlin/kotlin-eap")
maven(url = "https://dl.bintray.com/kotlin/kotlin-dev")
mavenLocal()
}

val dokka_version: String by project
Expand Down
3 changes: 2 additions & 1 deletion src/main/kotlin/com/virtuslab/dokka/site/StaticSitePlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class StaticSitePlugin : DokkaPlugin() {
dokkaBase.htmlPreprocessors providing { ctx ->
SitePagesCreator(loadStaticSiteContext(ctx))
} order {
after(dokkaBase.rootCreator)
before(dokkaBase.navigationPageInstaller)
before(dokkaBase.scriptsInstaller)
before(dokkaBase.stylesInstaller)
Expand All @@ -31,7 +32,7 @@ class StaticSitePlugin : DokkaPlugin() {
RootIndexPageCreator(loadStaticSiteContext(ctx))
} order {
after(dokkaBase.navigationPageInstaller)
before(dokkaBase.scriptsInstaller)
before(dokkaBase.scriptsInstaller)
before(dokkaBase.stylesInstaller)
}
}
Expand Down

0 comments on commit dfc9371

Please sign in to comment.