@t8/docsgen 0.4.4 → 0.4.6
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
|
@@ -861,11 +861,8 @@ ${getInjectedContent(ctx, "section", "body", "prepend")}
|
|
|
861
861
|
${content}
|
|
862
862
|
|
|
863
863
|
<p class="pagenav">
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
${nav[index - 1]?.id ? `<a href="${root}${contentDir}/${nav[index - 1]?.id}">${nav[index - 1]?.title}</a>` : `<a href="${root}">Intro</a>`}
|
|
867
|
-
</span>
|
|
868
|
-
<span class="sep">|</span>
|
|
864
|
+
${nav[index - 1]?.id ? `<span class="prev"><span class="icon">\u2190</span> <a href="${root}${contentDir}/${nav[index - 1]?.id}">${nav[index - 1]?.title}</a></span>
|
|
865
|
+
<span class="sep">|</span>` : ""}
|
|
869
866
|
${nav[index + 1]?.id ? `<span class="next"><a href="${root}${contentDir}/${nav[index + 1]?.id}">${nav[index + 1]?.title}</a> <span class="icon">\u2192</span></span>` : `<span class="repo">${getRepoLink(ctx)}</span>`}
|
|
870
867
|
</p>
|
|
871
868
|
</main>
|
package/dist/css/section.css
CHANGED
|
@@ -25,7 +25,6 @@ header h1 > a:link,
|
|
|
25
25
|
header h1 > a:hover,
|
|
26
26
|
header h1 > a:visited,
|
|
27
27
|
header h1 > a:active {
|
|
28
|
-
--color: var(--aux-emphatic-color);
|
|
29
28
|
text-decoration: underline;
|
|
30
29
|
border-bottom: none;
|
|
31
30
|
}
|
|
@@ -112,7 +111,6 @@ aside h1 > a:link,
|
|
|
112
111
|
aside h1 > a:hover,
|
|
113
112
|
aside h1 > a:visited,
|
|
114
113
|
aside h1 > a:active {
|
|
115
|
-
--color: var(--aux-emphatic-color);
|
|
116
114
|
text-decoration: underline;
|
|
117
115
|
border-bottom: none;
|
|
118
116
|
}
|
|
@@ -319,6 +317,7 @@ main h2:first-child {
|
|
|
319
317
|
padding-left: var(--icon-width);
|
|
320
318
|
}
|
|
321
319
|
.pagenav .next {
|
|
320
|
+
flex: auto;
|
|
322
321
|
padding-right: var(--icon-width);
|
|
323
322
|
}
|
|
324
323
|
.pagenav .sep,
|
package/package.json
CHANGED
|
@@ -62,11 +62,7 @@ ${getInjectedContent(ctx, "section", "body", "prepend")}
|
|
|
62
62
|
${content}
|
|
63
63
|
|
|
64
64
|
<p class="pagenav">
|
|
65
|
-
|
|
66
|
-
<span class="icon">←</span>
|
|
67
|
-
${nav[index - 1]?.id ? `<a href="${root}${contentDir}/${nav[index - 1]?.id}">${nav[index - 1]?.title}</a>` : `<a href="${root}">Intro</a>`}
|
|
68
|
-
</span>
|
|
69
|
-
<span class="sep">|</span>
|
|
65
|
+
${nav[index - 1]?.id ? `<span class="prev"><span class="icon">←</span> <a href="${root}${contentDir}/${nav[index - 1]?.id}">${nav[index - 1]?.title}</a></span>\n <span class="sep">|</span>` : ""}
|
|
70
66
|
${nav[index + 1]?.id ? `<span class="next"><a href="${root}${contentDir}/${nav[index + 1]?.id}">${nav[index + 1]?.title}</a> <span class="icon">→</span></span>` : `<span class="repo">${getRepoLink(ctx)}</span>`}
|
|
71
67
|
</p>
|
|
72
68
|
</main>
|
package/src/css/section.css
CHANGED
|
@@ -25,7 +25,6 @@ header h1 > a:link,
|
|
|
25
25
|
header h1 > a:hover,
|
|
26
26
|
header h1 > a:visited,
|
|
27
27
|
header h1 > a:active {
|
|
28
|
-
--color: var(--aux-emphatic-color);
|
|
29
28
|
text-decoration: underline;
|
|
30
29
|
border-bottom: none;
|
|
31
30
|
}
|
|
@@ -112,7 +111,6 @@ aside h1 > a:link,
|
|
|
112
111
|
aside h1 > a:hover,
|
|
113
112
|
aside h1 > a:visited,
|
|
114
113
|
aside h1 > a:active {
|
|
115
|
-
--color: var(--aux-emphatic-color);
|
|
116
114
|
text-decoration: underline;
|
|
117
115
|
border-bottom: none;
|
|
118
116
|
}
|
|
@@ -319,6 +317,7 @@ main h2:first-child {
|
|
|
319
317
|
padding-left: var(--icon-width);
|
|
320
318
|
}
|
|
321
319
|
.pagenav .next {
|
|
320
|
+
flex: auto;
|
|
322
321
|
padding-right: var(--icon-width);
|
|
323
322
|
}
|
|
324
323
|
.pagenav .sep,
|