aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
diff options
context:
space:
mode:
authorFelix Dombek <felics_dombek@hotmail.com>2022-08-03 16:20:31 +0200
committerGitHub <noreply@github.com>2022-08-03 16:20:31 +0200
commit8356b56cbc2b76f10753e4758dbc32cba5bddf71 (patch)
tree497580acec1203e5086709f3848db19bfd945b6c /plugins/base
parent256740ae75f30be7bd4f326b380f8ef2efd5d53c (diff)
downloaddokka-8356b56cbc2b76f10753e4758dbc32cba5bddf71.tar.gz
dokka-8356b56cbc2b76f10753e4758dbc32cba5bddf71.tar.bz2
dokka-8356b56cbc2b76f10753e4758dbc32cba5bddf71.zip
Fix spelling error 'depenent' (#2594)
Co-authored-by: Felix Dombek <Felix.Dombek@tomtom.com>
Diffstat (limited to 'plugins/base')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt2
-rw-r--r--plugins/base/src/main/resources/dokka/styles/style.css10
-rw-r--r--plugins/base/src/test/kotlin/signatures/AbstractRenderingTest.kt4
-rw-r--r--plugins/base/src/test/kotlin/signatures/DivergentSignatureTest.kt6
-rw-r--r--plugins/base/src/test/kotlin/signatures/RawHtmlRenderingTest.kt4
5 files changed, 13 insertions, 13 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
index b586b95e..5bfe5f64 100644
--- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
@@ -248,7 +248,7 @@ open class HtmlRenderer(
}
}.stripDiv()
sourceSet to createHTML(prettyPrint = false).prepareForTemplates()
- .div(classes = "content sourceset-depenent-content") {
+ .div(classes = "content sourceset-dependent-content") {
if (counter++ == 0) attributes["data-active"] = ""
attributes["data-togglable"] = sourceSet.sourceSetIDs.merged.toString()
unsafe {
diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css
index 7e9761a6..a2b2c995 100644
--- a/plugins/base/src/main/resources/dokka/styles/style.css
+++ b/plugins/base/src/main/resources/dokka/styles/style.css
@@ -204,18 +204,18 @@ html ::-webkit-scrollbar-thumb {
flex-direction: column;
}
-.cover .platform-hinted.with-platform-tabs .sourceset-depenent-content > .block ~ .symbol {
+.cover .platform-hinted.with-platform-tabs .sourceset-dependent-content > .block ~ .symbol {
padding-top: 16px;
padding-left: 0;
}
-.cover .sourceset-depenent-content > .block {
+.cover .sourceset-dependent-content > .block {
padding: 16px 0;
font-size: 18px;
line-height: 28px;
}
-.cover .platform-hinted.with-platform-tabs .sourceset-depenent-content > .block {
+.cover .platform-hinted.with-platform-tabs .sourceset-dependent-content > .block {
padding: 0;
font-size: var(--default-font-size);
}
@@ -977,8 +977,8 @@ td.content {
padding-bottom: 8px;
}
-.table-row .with-platform-tabs .sourceset-depenent-content .brief,
-.table-row .with-platform-tabs .sourceset-depenent-content .inline-comment {
+.table-row .with-platform-tabs .sourceset-dependent-content .brief,
+.table-row .with-platform-tabs .sourceset-dependent-content .inline-comment {
padding: 8px;
}
diff --git a/plugins/base/src/test/kotlin/signatures/AbstractRenderingTest.kt b/plugins/base/src/test/kotlin/signatures/AbstractRenderingTest.kt
index e7f408f2..d3fb6488 100644
--- a/plugins/base/src/test/kotlin/signatures/AbstractRenderingTest.kt
+++ b/plugins/base/src/test/kotlin/signatures/AbstractRenderingTest.kt
@@ -50,8 +50,8 @@ abstract class AbstractRenderingTest : BaseAbstractTest() {
fun TestOutputWriterPlugin.renderedDivergentContent(path: String): Elements =
renderedContent(path).select("div.divergent-group")
- fun TestOutputWriterPlugin.renderedSourceDepenentContent(path: String): Elements =
- renderedContent(path).select("div.sourceset-depenent-content")
+ fun TestOutputWriterPlugin.renderedSourceDependentContent(path: String): Elements =
+ renderedContent(path).select("div.sourceset-dependent-content")
val Element.brief: String
get() = children().select("p").text()
diff --git a/plugins/base/src/test/kotlin/signatures/DivergentSignatureTest.kt b/plugins/base/src/test/kotlin/signatures/DivergentSignatureTest.kt
index f03103d8..ca287216 100644
--- a/plugins/base/src/test/kotlin/signatures/DivergentSignatureTest.kt
+++ b/plugins/base/src/test/kotlin/signatures/DivergentSignatureTest.kt
@@ -15,7 +15,7 @@ class DivergentSignatureTest : AbstractRenderingTest() {
pluginOverrides = listOf(writerPlugin)
) {
renderingStage = { _, _ ->
- val content = writerPlugin.renderedSourceDepenentContent("example/example/-clock/get-time.html")
+ val content = writerPlugin.renderedSourceDependentContent("example/example/-clock/get-time.html")
assert(content.count() == 3)
val sourceSets = listOf("example/common", "example/js", "example/jvm")
@@ -36,7 +36,7 @@ class DivergentSignatureTest : AbstractRenderingTest() {
pluginOverrides = listOf(writerPlugin)
) {
renderingStage = { _, _ ->
- val content = writerPlugin.renderedSourceDepenentContent("example/example/-clock/get-times-in-millis.html")
+ val content = writerPlugin.renderedSourceDependentContent("example/example/-clock/get-times-in-millis.html")
assert(content.count() == 3)
assert(content.select("[data-togglable=example/common]").single().brief == "Time in minis")
@@ -56,7 +56,7 @@ class DivergentSignatureTest : AbstractRenderingTest() {
pluginOverrides = listOf(writerPlugin)
) {
renderingStage = { _, _ ->
- val content = writerPlugin.renderedSourceDepenentContent("example/example/-clock/get-year.html")
+ val content = writerPlugin.renderedSourceDependentContent("example/example/-clock/get-year.html")
assert(content.count() == 3)
assert(content.select("[data-togglable=example/jvm]").single().brief == "JVM custom kdoc")
assert(content.select("[data-togglable=example/js]").single().brief == "JS custom kdoc")
diff --git a/plugins/base/src/test/kotlin/signatures/RawHtmlRenderingTest.kt b/plugins/base/src/test/kotlin/signatures/RawHtmlRenderingTest.kt
index 4ac21c59..38c70cd4 100644
--- a/plugins/base/src/test/kotlin/signatures/RawHtmlRenderingTest.kt
+++ b/plugins/base/src/test/kotlin/signatures/RawHtmlRenderingTest.kt
@@ -16,7 +16,7 @@ class RawHtmlRenderingTest: AbstractRenderingTest() {
pluginOverrides = listOf(writerPlugin)
) {
renderingStage = { _, _ ->
- val content = writerPlugin.renderedSourceDepenentContent("example/example/-html-test/test.html")
+ val content = writerPlugin.renderedSourceDependentContent("example/example/-html-test/test.html")
assert(content.count() == 1)
assertEquals(content.select("[data-togglable=example/jvm]").single().rawBrief,"This is an example <!-- not visible --> of html")
@@ -53,7 +53,7 @@ class RawHtmlRenderingTest: AbstractRenderingTest() {
pluginOverrides = listOf(writerPlugin)
) {
renderingStage = { _, _ ->
- val content = writerPlugin.renderedSourceDepenentContent("example/example/-html-test/test-p.html")
+ val content = writerPlugin.renderedSourceDependentContent("example/example/-html-test/test-p.html")
assert(content.count() == 1)
assertEquals(content.select("[data-togglable=example/jvm]").single().rawBrief, "This is an <b> documentation </b>")