aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-08-12 14:49:26 +0200
committerMarcin Aman <marcin.aman@gmail.com>2021-08-12 14:49:26 +0200
commit79463f06a953de2f2c2ec877f34deaed658b3471 (patch)
tree377dea8c152d5afd01c2a3e979154688e90473c2 /plugins/base/src/main/kotlin
parent7cd0164426a6527b9bbb39d441f9bbdf28db45f3 (diff)
downloaddokka-79463f06a953de2f2c2ec877f34deaed658b3471.tar.gz
dokka-79463f06a953de2f2c2ec877f34deaed658b3471.tar.bz2
dokka-79463f06a953de2f2c2ec877f34deaed658b3471.zip
Remove unused components, docs, change icon to new kotlin logo and add hamburger for mobile
Diffstat (limited to 'plugins/base/src/main/kotlin')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt8
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt2
2 files changed, 4 insertions, 6 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
index 77086695..362447d1 100644
--- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
@@ -798,6 +798,10 @@ open class HtmlRenderer(
body {
div("navigation-wrapper") {
id = "navigation-wrapper"
+ div {
+ id = "leftToggler"
+ span("icon-toggler")
+ }
div("library-name") {
clickableLogo(page, pathToRoot)
}
@@ -821,10 +825,6 @@ open class HtmlRenderer(
}
div {
id = "main"
- div {
- id = "leftToggler"
- span("icon-toggler")
- }
templateCommand(PathToRootSubstitutionCommand("###", default = pathToRoot)) {
script(type = ScriptType.textJavaScript, src = "###scripts/main.js") {}
}
diff --git a/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt b/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt
index 70f1c1d6..992c5eba 100644
--- a/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt
@@ -134,7 +134,6 @@ class ScriptsInstaller(private val dokkaContext: DokkaContext) : PageTransformer
class StylesInstaller(private val dokkaContext: DokkaContext) : PageTransformer {
private val stylesPages = listOf(
"styles/style.css",
- "styles/logo-styles.css",
"styles/jetbrains-mono.css",
"styles/main.css"
)
@@ -154,7 +153,6 @@ object AssetsInstaller : PageTransformer {
private val imagesPages = listOf(
"images/arrow_down.svg",
"images/arrow_down_white.svg",
- "images/docs_logo.svg",
"images/logo-icon.svg",
"images/go-to-top-icon.svg",
"images/footer-go-to-link.svg",