@t8/docsgen 0.4.5 → 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
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>
|