aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/main/kotlin
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-07-16 18:09:29 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-16 18:46:59 +0200
commitb4ff4a6ef34d056b13702fdf4dd66fe059966d67 (patch)
tree198e21dcd47432b5bc0598d5a63586e2430f9a7f /plugins/base/src/main/kotlin
parent70f4b9b34e7fdcbf5cd3c577c3261546696dea6a (diff)
downloaddokka-b4ff4a6ef34d056b13702fdf4dd66fe059966d67.tar.gz
dokka-b4ff4a6ef34d056b13702fdf4dd66fe059966d67.tar.bz2
dokka-b4ff4a6ef34d056b13702fdf4dd66fe059966d67.zip
Add a link to dokka Github page in footer
Diffstat (limited to 'plugins/base/src/main/kotlin')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt14
1 files changed, 8 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 f331acc8..09f7b712 100644
--- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
@@ -729,16 +729,18 @@ open class HtmlRenderer(
span { text("© 2020 Copyright") }
span { text("Privacy Policy") }
span("pull-right") {
- span { text("Sponsored and developed by Dokka") }
- span(classes = "padded-icon") {
- unsafe {
- raw(
- """
+ span { text("Sponsored and developed by dokka") }
+ a(href= "https://github.com/Kotlin/dokka") {
+ span(classes = "padded-icon") {
+ unsafe {
+ raw(
+ """
<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8 0H2.3949L4.84076 2.44586L0 7.28662L0.713376 8L5.55414 3.15924L8 5.6051V0Z" fill="black"/>
</svg>
""".trimIndent()
- )
+ )
+ }
}
}
}