@t8/docsgen 0.4.17 → 0.4.18
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
|
@@ -922,9 +922,8 @@ async function getSectionContent(ctx, index) {
|
|
|
922
922
|
<body>
|
|
923
923
|
${getInjectedContent(ctx, "section", "body", "prepend")}
|
|
924
924
|
<div class="layout">
|
|
925
|
-
<header
|
|
926
|
-
<h1
|
|
927
|
-
${index === 0 ? ` <div class="description"><p>${descriptionContent}</p></div>` : ""}
|
|
925
|
+
<header class="compact">
|
|
926
|
+
<h1><a href="${root}">${plainTitle}</a></h1>
|
|
928
927
|
</header>
|
|
929
928
|
<div class="${navContent ? "" : "no-nav "}body">
|
|
930
929
|
<main>
|
package/package.json
CHANGED
|
@@ -48,9 +48,8 @@ export async function getSectionContent(ctx: Context, index: number) {
|
|
|
48
48
|
<body>
|
|
49
49
|
${getInjectedContent(ctx, "section", "body", "prepend")}
|
|
50
50
|
<div class="layout">
|
|
51
|
-
<header
|
|
52
|
-
<h1
|
|
53
|
-
${index === 0 ? ` <div class="description"><p>${descriptionContent}</p></div>` : ""}
|
|
51
|
+
<header class="compact">
|
|
52
|
+
<h1><a href="${root}">${plainTitle}</a></h1>
|
|
54
53
|
</header>
|
|
55
54
|
<div class="${navContent ? "" : "no-nav "}body">
|
|
56
55
|
<main>
|