@t8/docsgen 0.4.10 → 0.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bin.js
CHANGED
|
@@ -851,7 +851,7 @@ async function getSectionContent(ctx, index) {
|
|
|
851
851
|
${getInjectedContent(ctx, "section", "body", "prepend")}
|
|
852
852
|
<div class="layout">
|
|
853
853
|
<header${index === 0 ? ' class="full"' : ' class="compact"'}>
|
|
854
|
-
<h1>${mainTitle}</h1>
|
|
854
|
+
<h1>${index === 0 ? mainTitle : `<a href="${root}">${plainTitle}</a>`}</h1>
|
|
855
855
|
${index === 0 ? ` <div class="description"><p>${descriptionContent}</p></div>` : ""}
|
|
856
856
|
</header>
|
|
857
857
|
<div class="${navContent ? "" : "no-nav "}body">
|
package/dist/css/section.css
CHANGED
|
@@ -18,7 +18,6 @@ header {
|
|
|
18
18
|
header h1 {
|
|
19
19
|
font-size: 1.5em;
|
|
20
20
|
font-weight: 900;
|
|
21
|
-
color: var(--aux-emphatic-color);
|
|
22
21
|
margin: 0;
|
|
23
22
|
}
|
|
24
23
|
header h1 > a,
|
|
@@ -48,7 +47,7 @@ header.compact {
|
|
|
48
47
|
margin-bottom: 0;
|
|
49
48
|
}
|
|
50
49
|
header.compact h1 {
|
|
51
|
-
font-size: 0.
|
|
50
|
+
font-size: 0.8em;
|
|
52
51
|
font-weight: normal;
|
|
53
52
|
}
|
|
54
53
|
header.compact .description {
|
package/package.json
CHANGED
|
@@ -52,7 +52,7 @@ export async function getSectionContent(ctx: Context, index: number) {
|
|
|
52
52
|
${getInjectedContent(ctx, "section", "body", "prepend")}
|
|
53
53
|
<div class="layout">
|
|
54
54
|
<header${index === 0 ? ' class="full"' : ' class="compact"'}>
|
|
55
|
-
<h1>${mainTitle}</h1>
|
|
55
|
+
<h1>${index === 0 ? mainTitle : `<a href="${root}">${plainTitle}</a>`}</h1>
|
|
56
56
|
${index === 0 ? ` <div class="description"><p>${descriptionContent}</p></div>` : ""}
|
|
57
57
|
</header>
|
|
58
58
|
<div class="${navContent ? "" : "no-nav "}body">
|
package/src/css/section.css
CHANGED
|
@@ -18,7 +18,6 @@ header {
|
|
|
18
18
|
header h1 {
|
|
19
19
|
font-size: 1.5em;
|
|
20
20
|
font-weight: 900;
|
|
21
|
-
color: var(--aux-emphatic-color);
|
|
22
21
|
margin: 0;
|
|
23
22
|
}
|
|
24
23
|
header h1 > a,
|
|
@@ -48,7 +47,7 @@ header.compact {
|
|
|
48
47
|
margin-bottom: 0;
|
|
49
48
|
}
|
|
50
49
|
header.compact h1 {
|
|
51
|
-
font-size: 0.
|
|
50
|
+
font-size: 0.8em;
|
|
52
51
|
font-weight: normal;
|
|
53
52
|
}
|
|
54
53
|
header.compact .description {
|