aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt2
-rw-r--r--plugins/base/src/main/resources/dokka/styles/style.css6
-rw-r--r--plugins/base/src/test/kotlin/utils/contentUtils.kt4
3 files changed, 5 insertions, 7 deletions
diff --git a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
index 52811961..a8b33d4c 100644
--- a/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
+++ b/plugins/base/src/main/kotlin/translators/documentables/DefaultPageCreator.kt
@@ -223,7 +223,7 @@ open class DefaultPageCreator(
protected open fun contentForPackage(p: DPackage) = contentBuilder.contentFor(p) {
group(kind = ContentKind.Cover) {
- cover("Package ${p.name}")
+ cover("Package-level declarations")
if (contentForDescription(p).isNotEmpty()) {
sourceSetDependentHint(
p.dri,
diff --git a/plugins/base/src/main/resources/dokka/styles/style.css b/plugins/base/src/main/resources/dokka/styles/style.css
index 9bc9f07d..b3749e73 100644
--- a/plugins/base/src/main/resources/dokka/styles/style.css
+++ b/plugins/base/src/main/resources/dokka/styles/style.css
@@ -192,8 +192,6 @@ html ::-webkit-scrollbar-thumb {
}
.cover > .platform-hinted {
- padding-top: 12px;
- margin-top: 12px;
padding-bottom: 12px;
}
@@ -550,8 +548,8 @@ h1 {
h1.cover {
- font-size: 60px;
- line-height: 64px;
+ font-size: 52px;
+ line-height: 56px;
letter-spacing: -1.5px;
margin-bottom: 0;
padding-bottom: 32px;
diff --git a/plugins/base/src/test/kotlin/utils/contentUtils.kt b/plugins/base/src/test/kotlin/utils/contentUtils.kt
index 66e5ef53..0af253df 100644
--- a/plugins/base/src/test/kotlin/utils/contentUtils.kt
+++ b/plugins/base/src/test/kotlin/utils/contentUtils.kt
@@ -147,7 +147,7 @@ fun ContentMatcherBuilder<*>.propertySignature(
value: String? = null
) {
group {
- header { +"Package test" }
+ header { +"Package-level declarations" }
skipAllNotMatching()
}
group {
@@ -190,7 +190,7 @@ fun ContentMatcherBuilder<*>.propertySignature(
fun ContentMatcherBuilder<*>.typealiasSignature(name: String, expressionTarget: String) {
group {
- header { +"Package test" }
+ header { +"Package-level declarations" }
skipAllNotMatching()
}
group {