@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.
@@ -1,4 +1,4 @@
1
- import { t as message } from "../messages-B_3xUzUb.js";
1
+ import { t as message } from "../messages-bS8G9Pj8.js";
2
2
  //#region src/client/code-copy.ts
3
3
  var CookbookCodeBlock = class extends HTMLElement {
4
4
  #resetTimer;
@@ -1,4 +1,4 @@
1
- import { t as message } from "../messages-B_3xUzUb.js";
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() {
@@ -1,4 +1,4 @@
1
- import { t as message } from "../messages-B_3xUzUb.js";
1
+ import { t as message } from "../messages-bS8G9Pj8.js";
2
2
  //#region src/client/page-copy.ts
3
3
  var CookbookPageActions = class extends HTMLElement {
4
4
  connectedCallback() {
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
- graph = await createDocsGraph({
1168
+ const candidate = await createDocsGraph({
1169
1169
  ...projectRoot ? { root: projectRoot } : {},
1170
1170
  ...graphConfig ? { config: graphConfig } : {},
1171
1171
  base: graphBase
1172
1172
  });
1173
- assertValidDocs(graph);
1174
- await validatePluginFrontmatter(graph.entries, options.frontmatterSchema);
1173
+ assertValidDocs(candidate);
1174
+ await validatePluginFrontmatter(candidate.entries, options.frontmatterSchema);
1175
+ graph = candidate;
1175
1176
  }
1176
1177
  return graph;
1177
1178
  }