@tenphi/renderer 0.21.2 → 0.21.4
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/client/code-copy.js +1 -1
- package/dist/client/heading-links.js +1 -1
- package/dist/client/page-copy.js +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/localization.d.ts +2 -42
- package/dist/localization.d.ts.map +1 -1
- package/dist/localization.js +1 -87
- package/dist/localization.js.map +1 -1
- package/dist/messages-BqBGDIoP.js +143 -0
- package/dist/messages-BqBGDIoP.js.map +1 -0
- package/dist/messages-ClTf2nFf.d.ts +52 -0
- package/dist/messages-ClTf2nFf.d.ts.map +1 -0
- package/dist/{messages-B_3xUzUb.js → messages-bS8G9Pj8.js} +2 -2
- package/dist/{messages-B_3xUzUb.js.map → messages-bS8G9Pj8.js.map} +1 -1
- package/dist/ui.d.ts +2 -6
- package/dist/ui.js +1 -58
- package/package.json +2 -2
- package/dist/ui.d.ts.map +0 -1
- package/dist/ui.js.map +0 -1
package/dist/client/code-copy.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as message } from "../messages-
|
|
1
|
+
import { t as message } from "../messages-bS8G9Pj8.js";
|
|
2
2
|
//#region src/client/heading-links.ts
|
|
3
3
|
/** Keep real fragment links as the no-JavaScript and modified-click fallback. */
|
|
4
4
|
function initializeHeadingLinks() {
|
package/dist/client/page-copy.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1165,13 +1165,14 @@ function configuredCookbook(options) {
|
|
|
1165
1165
|
let siteLogo;
|
|
1166
1166
|
async function loadGraph(refresh = false) {
|
|
1167
1167
|
if (!graph || refresh) {
|
|
1168
|
-
|
|
1168
|
+
const candidate = await createDocsGraph({
|
|
1169
1169
|
...projectRoot ? { root: projectRoot } : {},
|
|
1170
1170
|
...graphConfig ? { config: graphConfig } : {},
|
|
1171
1171
|
base: graphBase
|
|
1172
1172
|
});
|
|
1173
|
-
assertValidDocs(
|
|
1174
|
-
await validatePluginFrontmatter(
|
|
1173
|
+
assertValidDocs(candidate);
|
|
1174
|
+
await validatePluginFrontmatter(candidate.entries, options.frontmatterSchema);
|
|
1175
|
+
graph = candidate;
|
|
1175
1176
|
}
|
|
1176
1177
|
return graph;
|
|
1177
1178
|
}
|