@brillout/docpress 0.2.1 → 0.2.2

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.
@@ -4,7 +4,7 @@ import {
4
4
  getHeadings,
5
5
  parseTitle,
6
6
  usePageContext
7
- } from "../chunk-H5CO4N2X.js";
7
+ } from "../chunk-JS5BGVDK.js";
8
8
  import {
9
9
  Emoji,
10
10
  jsxToTextContent,
@@ -47,88 +47,88 @@ var changelog_default = "/assets/changelog-IPI5F42D.svg";
47
47
  // src/navigation/NavigationHeader.tsx
48
48
  function NavigationHeader() {
49
49
  const pageContext = usePageContext();
50
- return /* @__PURE__ */ React.createElement(
51
- "div",
52
- {
53
- id: "navigation-header",
54
- style: {
55
- display: "flex",
56
- flexDirection: "column",
57
- alignItems: "center",
58
- marginBottom: -5
59
- }
50
+ return /* @__PURE__ */ React.createElement("div", {
51
+ id: "navigation-header",
52
+ style: {
53
+ display: "flex",
54
+ flexDirection: "column",
55
+ alignItems: "center",
56
+ marginBottom: -5
57
+ }
58
+ }, /* @__PURE__ */ React.createElement("a", {
59
+ id: "navigation-header-logo",
60
+ style: {
61
+ display: "flex",
62
+ alignItems: "center",
63
+ color: "inherit",
64
+ justifyContent: "left",
65
+ textDecoration: "none",
66
+ paddingTop: 12,
67
+ paddingBottom: 7
60
68
  },
61
- /* @__PURE__ */ React.createElement(
62
- "a",
63
- {
64
- id: "navigation-header-logo",
65
- style: {
66
- display: "flex",
67
- alignItems: "center",
68
- color: "inherit",
69
- justifyContent: "left",
70
- textDecoration: "none",
71
- paddingTop: 12,
72
- paddingBottom: 7
73
- },
74
- href: "/"
75
- },
76
- pageContext.config.navHeader
77
- ),
78
- /* @__PURE__ */ React.createElement(Links, null)
79
- );
69
+ href: "/"
70
+ }, pageContext.config.navHeader), /* @__PURE__ */ React.createElement(Links, null));
80
71
  }
81
72
  function Links() {
82
73
  const pageContext = usePageContext();
83
74
  const { projectInfo } = pageContext.config;
84
- return /* @__PURE__ */ React.createElement(
85
- "div",
86
- {
87
- style: {
88
- display: "flex",
89
- alignItems: "center",
90
- paddingTop: 0,
91
- justifyContent: "left"
92
- }
93
- },
94
- /* @__PURE__ */ React.createElement(SocialLink, { className: "decolorize-4", icon: github_default, href: projectInfo.githubRepository }),
95
- /* @__PURE__ */ React.createElement(SocialLink, { className: "decolorize-6", icon: discord_default, href: projectInfo.discordInvite }),
96
- /* @__PURE__ */ React.createElement(SocialLink, { className: "decolorize-7", icon: twitter_default, href: projectInfo.twitterProfile }),
97
- /* @__PURE__ */ React.createElement("div", { id: "docsearch-desktop" }),
98
- /* @__PURE__ */ React.createElement(ChangelogButton, null)
99
- );
75
+ return /* @__PURE__ */ React.createElement("div", {
76
+ style: {
77
+ display: "flex",
78
+ alignItems: "center",
79
+ paddingTop: 0,
80
+ justifyContent: "left"
81
+ }
82
+ }, /* @__PURE__ */ React.createElement(SocialLink, {
83
+ className: "decolorize-4",
84
+ icon: github_default,
85
+ href: projectInfo.githubRepository
86
+ }), /* @__PURE__ */ React.createElement(SocialLink, {
87
+ className: "decolorize-6",
88
+ icon: discord_default,
89
+ href: projectInfo.discordInvite
90
+ }), /* @__PURE__ */ React.createElement(SocialLink, {
91
+ className: "decolorize-7",
92
+ icon: twitter_default,
93
+ href: projectInfo.twitterProfile
94
+ }), /* @__PURE__ */ React.createElement("div", {
95
+ id: "docsearch-desktop"
96
+ }), /* @__PURE__ */ React.createElement(ChangelogButton, null));
100
97
  }
101
98
  function ChangelogButton() {
102
99
  const pageContext = usePageContext();
103
100
  const { projectInfo } = pageContext.config;
104
- return /* @__PURE__ */ React.createElement(
105
- "a",
106
- {
107
- href: `${projectInfo.githubRepository}/blob/main/CHANGELOG.md`,
108
- className: "button colorize-on-hover",
109
- style: {
110
- display: "flex",
111
- alignItems: "center",
112
- padding: "1px 7px",
113
- marginLeft: 2,
114
- fontSize: "0.97em",
115
- color: "inherit"
116
- }
117
- },
118
- /* @__PURE__ */ React.createElement("span", { className: "decolorize-7" }, "v", projectInfo.projectVersion),
119
- /* @__PURE__ */ React.createElement("img", { className: "decolorize-6", src: changelog_default, height: 16, style: { marginLeft: 5 } })
120
- );
101
+ return /* @__PURE__ */ React.createElement("a", {
102
+ href: `${projectInfo.githubRepository}/blob/main/CHANGELOG.md`,
103
+ className: "button colorize-on-hover",
104
+ style: {
105
+ display: "flex",
106
+ alignItems: "center",
107
+ padding: "1px 7px",
108
+ marginLeft: 2,
109
+ fontSize: "0.97em",
110
+ color: "inherit"
111
+ }
112
+ }, /* @__PURE__ */ React.createElement("span", {
113
+ id: "version-number",
114
+ className: "decolorize-7"
115
+ }, "v", projectInfo.projectVersion), /* @__PURE__ */ React.createElement("img", {
116
+ className: "decolorize-6",
117
+ src: changelog_default,
118
+ height: 16,
119
+ style: { marginLeft: 5 }
120
+ }));
121
121
  }
122
122
  function SocialLink({ className, icon, href }) {
123
- return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
124
- "a",
125
- {
126
- className: "colorize-on-hover " + className,
127
- href,
128
- style: { padding: 3, display: "inline-block", lineHeight: 0 }
129
- },
130
- /* @__PURE__ */ React.createElement("img", { src: icon, height: "20", style: {} })
131
- ));
123
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("a", {
124
+ className: "colorize-on-hover " + className,
125
+ href,
126
+ style: { padding: 3, display: "inline-block", lineHeight: 0 }
127
+ }, /* @__PURE__ */ React.createElement("img", {
128
+ src: icon,
129
+ height: "20",
130
+ style: {}
131
+ })));
132
132
  }
133
133
 
134
134
  // src/navigation/navigation-fullscreen/NavigationFullscreenButton.tsx
@@ -139,38 +139,34 @@ var close_default = "/assets/close-IQXTDOHV.svg";
139
139
 
140
140
  // src/navigation/navigation-fullscreen/NavigationFullscreenButton.tsx
141
141
  function NavigationFullscreenButton() {
142
- return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement("a", { id: "navigation-fullscreen-button" }, /* @__PURE__ */ React2.createElement(
143
- "div",
144
- {
145
- style: {
146
- position: "fixed",
147
- cursor: "pointer",
148
- height: "100vh",
149
- width: 20,
150
- overflow: "hidden"
151
- }
152
- },
153
- /* @__PURE__ */ React2.createElement("div", null)
154
- ), /* @__PURE__ */ React2.createElement(
155
- "div",
156
- {
157
- style: { position: "fixed", height: "100vh", width: 20 },
158
- "aria-label": "Press <Esc>",
159
- "data-balloon-pos": "right"
142
+ return /* @__PURE__ */ React2.createElement(React2.Fragment, null, /* @__PURE__ */ React2.createElement("a", {
143
+ id: "navigation-fullscreen-button"
144
+ }, /* @__PURE__ */ React2.createElement("div", {
145
+ style: {
146
+ position: "fixed",
147
+ cursor: "pointer",
148
+ height: "100vh",
149
+ width: 20,
150
+ overflow: "hidden"
160
151
  }
161
- )));
152
+ }, /* @__PURE__ */ React2.createElement("div", null)), /* @__PURE__ */ React2.createElement("div", {
153
+ style: { position: "fixed", height: "100vh", width: 20 },
154
+ "aria-label": "Press <Esc>",
155
+ "data-balloon-pos": "right"
156
+ })));
162
157
  }
163
158
  function NavigationFullscreenClose() {
164
- return /* @__PURE__ */ React2.createElement(
165
- "a",
166
- {
167
- id: "navigation-fullscreen-close",
168
- style: { position: "fixed", top: 11, right: 15, zIndex: 10 },
169
- "aria-label": "Press <Esc>",
170
- "data-balloon-pos": "left"
171
- },
172
- /* @__PURE__ */ React2.createElement("img", { src: close_default, height: 50, width: 50, style: { display: "block" } })
173
- );
159
+ return /* @__PURE__ */ React2.createElement("a", {
160
+ id: "navigation-fullscreen-close",
161
+ style: { position: "fixed", top: 11, right: 15, zIndex: 10 },
162
+ "aria-label": "Press <Esc>",
163
+ "data-balloon-pos": "left"
164
+ }, /* @__PURE__ */ React2.createElement("img", {
165
+ src: close_default,
166
+ height: 50,
167
+ width: 50,
168
+ style: { display: "block" }
169
+ }));
174
170
  }
175
171
 
176
172
  // src/navigation/Navigation.tsx
@@ -178,39 +174,54 @@ function Navigation({
178
174
  pageContext
179
175
  }) {
180
176
  const { isDetachedPage } = pageContext;
181
- return /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement("div", { id: "navigation-container" }, /* @__PURE__ */ React3.createElement(NavigationHeader, null), isDetachedPage && /* @__PURE__ */ React3.createElement(DetachedPageNote, null), /* @__PURE__ */ React3.createElement(NavigationContent, { pageContext }), /* @__PURE__ */ React3.createElement(NavigationFullscreenClose, null)));
177
+ return /* @__PURE__ */ React3.createElement(React3.Fragment, null, /* @__PURE__ */ React3.createElement("div", {
178
+ id: "navigation-container"
179
+ }, /* @__PURE__ */ React3.createElement(NavigationHeader, null), isDetachedPage && /* @__PURE__ */ React3.createElement(DetachedPageNote, null), /* @__PURE__ */ React3.createElement(NavigationContent, {
180
+ pageContext
181
+ }), /* @__PURE__ */ React3.createElement(NavigationFullscreenClose, null)));
182
182
  }
183
183
  function NavigationMask() {
184
- return /* @__PURE__ */ React3.createElement("div", { id: "navigation-mask" });
184
+ return /* @__PURE__ */ React3.createElement("div", {
185
+ id: "navigation-mask"
186
+ });
185
187
  }
186
188
  function NavigationContent({
187
189
  pageContext
188
190
  }) {
189
191
  const headings = getHeadingsWithComputedProps(pageContext);
190
192
  const headingsGrouped = groupHeadings(headings);
191
- return /* @__PURE__ */ React3.createElement("div", { id: "navigation-content" }, /* @__PURE__ */ React3.createElement("div", { className: "nav-column", style: { position: "relative" } }, headingsGrouped.map((headingsH1, i) => /* @__PURE__ */ React3.createElement("div", { className: "nav-h1-group", key: i }, /* @__PURE__ */ React3.createElement(Heading, { heading: headingsH1 }), headingsH1.headings.map((heading, j) => /* @__PURE__ */ React3.createElement(Heading, { heading, key: j }))))));
193
+ return /* @__PURE__ */ React3.createElement("div", {
194
+ id: "navigation-content"
195
+ }, /* @__PURE__ */ React3.createElement("div", {
196
+ className: "nav-column",
197
+ style: { position: "relative" }
198
+ }, headingsGrouped.map((headingsH1, i) => /* @__PURE__ */ React3.createElement("div", {
199
+ className: "nav-h1-group",
200
+ key: i
201
+ }, /* @__PURE__ */ React3.createElement(Heading, {
202
+ heading: headingsH1
203
+ }), headingsH1.headings.map((heading, j) => /* @__PURE__ */ React3.createElement(Heading, {
204
+ heading,
205
+ key: j
206
+ }))))));
192
207
  }
193
208
  function Heading({
194
209
  heading
195
210
  }) {
196
211
  assert([1, 2, 3, 4].includes(heading.level), heading);
197
- return /* @__PURE__ */ React3.createElement(
198
- "a",
199
- {
200
- className: [
201
- "nav-item",
202
- "nav-item-h" + heading.level,
203
- heading.computed.isActive && " is-active",
204
- heading.computed.isActiveFirst && " is-active-first",
205
- heading.computed.isActiveLast && " is-active-last",
206
- heading.computed.isChildOfListHeading && "nav-item-parent-is-list-heading",
207
- heading.computed.isFirstOfItsKind && "nav-item-first-of-its-kind",
208
- heading.computed.isLastOfItsKind && "nav-item-last-of-its-kind"
209
- ].filter(Boolean).join(" "),
210
- href: heading.url || void 0
211
- },
212
- heading.titleInNav
213
- );
212
+ return /* @__PURE__ */ React3.createElement("a", {
213
+ className: [
214
+ "nav-item",
215
+ "nav-item-h" + heading.level,
216
+ heading.computed.isActive && " is-active",
217
+ heading.computed.isActiveFirst && " is-active-first",
218
+ heading.computed.isActiveLast && " is-active-last",
219
+ heading.computed.isChildOfListHeading && "nav-item-parent-is-list-heading",
220
+ heading.computed.isFirstOfItsKind && "nav-item-first-of-its-kind",
221
+ heading.computed.isLastOfItsKind && "nav-item-last-of-its-kind"
222
+ ].filter(Boolean).join(" "),
223
+ href: heading.url || void 0
224
+ }, heading.titleInNav);
214
225
  }
215
226
  function groupHeadings(headings) {
216
227
  const headingsGrouped = [];
@@ -264,118 +275,117 @@ function getHeadingsWithComputedProps(pageContext) {
264
275
  });
265
276
  }
266
277
  function DetachedPageNote() {
267
- return /* @__PURE__ */ React3.createElement(
268
- "div",
269
- {
270
- id: "detached-note",
271
- style: {
272
- backgroundColor: "var(--background-color)",
273
- textAlign: "left",
274
- marginLeft: 10,
275
- marginRight: 10,
276
- marginTop: 30,
277
- marginBottom: -8,
278
- borderRadius: 5,
279
- padding: 10
280
- }
281
- },
282
- /* @__PURE__ */ React3.createElement(Emoji, { name: "info" }),
283
- " ",
284
- /* @__PURE__ */ React3.createElement("b", null, /* @__PURE__ */ React3.createElement("em", null, "Detached")),
285
- /* @__PURE__ */ React3.createElement(
286
- "span",
287
- {
288
- style: {
289
- opacity: 0.8
290
- }
291
- },
292
- " ",
293
- "\u2014 this page isn't listed in the navigation menu below."
294
- )
295
- );
278
+ return /* @__PURE__ */ React3.createElement("div", {
279
+ id: "detached-note",
280
+ style: {
281
+ backgroundColor: "var(--background-color)",
282
+ textAlign: "left",
283
+ marginLeft: 10,
284
+ marginRight: 10,
285
+ marginTop: 30,
286
+ marginBottom: -8,
287
+ borderRadius: 5,
288
+ padding: 10
289
+ }
290
+ }, /* @__PURE__ */ React3.createElement(Emoji, {
291
+ name: "info"
292
+ }), " ", /* @__PURE__ */ React3.createElement("b", null, /* @__PURE__ */ React3.createElement("em", null, "Detached")), /* @__PURE__ */ React3.createElement("span", {
293
+ style: {
294
+ opacity: 0.8
295
+ }
296
+ }, " ", "\u2014 this page isn't listed in the navigation menu below."));
296
297
  }
297
298
 
298
299
  // src/MobileHeader.tsx
299
300
  import React4 from "react";
300
301
  function MobileHeader() {
301
302
  const pageContext = usePageContext();
302
- return /* @__PURE__ */ React4.createElement(
303
- "div",
304
- {
305
- id: "mobile-header",
306
- style: {
307
- height: "var(--mobile-header-height)",
308
- width: "100vw",
309
- position: "relative"
310
- }
311
- },
312
- /* @__PURE__ */ React4.createElement(
313
- "div",
314
- {
315
- style: {
316
- position: "fixed",
317
- display: "flex",
318
- alignItems: "center",
319
- background: "white",
320
- zIndex: 99,
321
- top: 0,
322
- left: 0,
323
- height: "var(--mobile-header-height)",
324
- width: "100%",
325
- borderBottom: "1px solid #ddd"
326
- }
327
- },
328
- /* @__PURE__ */ React4.createElement(MenuToggle, null),
329
- /* @__PURE__ */ React4.createElement(
330
- "a",
331
- {
332
- href: "/",
333
- style: {
334
- color: "inherit",
335
- display: "flex",
336
- alignItems: "center",
337
- justifyContent: "left",
338
- textDecoration: "none"
339
- }
340
- },
341
- pageContext.config.navHeaderMobile
342
- ),
343
- /* @__PURE__ */ React4.createElement("div", { id: "docsearch-mobile" })
344
- )
345
- );
303
+ return /* @__PURE__ */ React4.createElement("div", {
304
+ id: "mobile-header",
305
+ style: {
306
+ height: "var(--mobile-header-height)",
307
+ width: "100vw",
308
+ position: "relative"
309
+ }
310
+ }, /* @__PURE__ */ React4.createElement("div", {
311
+ style: {
312
+ position: "fixed",
313
+ display: "flex",
314
+ alignItems: "center",
315
+ background: "white",
316
+ zIndex: 99,
317
+ top: 0,
318
+ left: 0,
319
+ height: "var(--mobile-header-height)",
320
+ width: "100%",
321
+ borderBottom: "1px solid #ddd"
322
+ }
323
+ }, /* @__PURE__ */ React4.createElement(MenuToggle, null), /* @__PURE__ */ React4.createElement("a", {
324
+ href: "/",
325
+ style: {
326
+ color: "inherit",
327
+ display: "flex",
328
+ alignItems: "center",
329
+ justifyContent: "left",
330
+ textDecoration: "none"
331
+ }
332
+ }, pageContext.config.navHeaderMobile), /* @__PURE__ */ React4.createElement("div", {
333
+ id: "docsearch-mobile"
334
+ })));
346
335
  }
347
336
  function MenuToggle() {
348
- return /* @__PURE__ */ React4.createElement("div", { style: { padding: 20, lineHeight: 0 }, id: "menu-toggle" }, /* @__PURE__ */ React4.createElement(
349
- "svg",
350
- {
351
- style: { width: 20 },
352
- className: "icon",
353
- xmlns: "http://www.w3.org/2000/svg",
354
- "aria-hidden": "true",
355
- role: "img",
356
- viewBox: "0 0 448 512"
357
- },
358
- /* @__PURE__ */ React4.createElement(
359
- "path",
360
- {
361
- fill: "currentColor",
362
- d: "M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"
363
- }
364
- )
365
- ));
337
+ return /* @__PURE__ */ React4.createElement("div", {
338
+ style: { padding: 20, lineHeight: 0 },
339
+ id: "menu-toggle"
340
+ }, /* @__PURE__ */ React4.createElement("svg", {
341
+ style: { width: 20 },
342
+ className: "icon",
343
+ xmlns: "http://www.w3.org/2000/svg",
344
+ "aria-hidden": "true",
345
+ role: "img",
346
+ viewBox: "0 0 448 512"
347
+ }, /* @__PURE__ */ React4.createElement("path", {
348
+ fill: "currentColor",
349
+ d: "M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"
350
+ })));
366
351
  }
367
352
 
368
353
  // src/components/EditPageNote.tsx
369
354
  import React5 from "react";
370
355
  function EditPageNote({ pageContext }) {
371
- const text = /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(Emoji, { name: "writing-hang" }), " Edit this page");
372
- return /* @__PURE__ */ React5.createElement("div", { style: { marginTop: 50 } }, /* @__PURE__ */ React5.createElement(RepoLink, { path: "/docs/pages" + pageContext.urlPathname + ".page.server.mdx", text, editMode: true }));
356
+ const text = /* @__PURE__ */ React5.createElement(React5.Fragment, null, /* @__PURE__ */ React5.createElement(Emoji, {
357
+ name: "writing-hang"
358
+ }), " Edit this page");
359
+ return /* @__PURE__ */ React5.createElement("div", {
360
+ style: { marginTop: 50 }
361
+ }, /* @__PURE__ */ React5.createElement(RepoLink, {
362
+ path: "/docs/pages" + pageContext.urlPathname + ".page.server.mdx",
363
+ text,
364
+ editMode: true
365
+ }));
373
366
  }
374
367
 
375
368
  // src/PageLayout.tsx
376
369
  function PageLayout({ pageContext, children }) {
377
370
  const { isLandingPage, pageTitle } = pageContext;
378
- return /* @__PURE__ */ React6.createElement(React6.StrictMode, null, /* @__PURE__ */ React6.createElement(PageContextProvider, { pageContext }, /* @__PURE__ */ React6.createElement("div", { id: "page-layout", className: isLandingPage ? "landing-page" : "doc-page" }, /* @__PURE__ */ React6.createElement("div", { id: "navigation-wrapper" }, /* @__PURE__ */ React6.createElement(Navigation, { pageContext })), /* @__PURE__ */ React6.createElement(NavigationFullscreenButton, null), /* @__PURE__ */ React6.createElement("div", { id: "page-wrapper" }, /* @__PURE__ */ React6.createElement("div", { id: "page-container" }, /* @__PURE__ */ React6.createElement(MobileHeader, null), /* @__PURE__ */ React6.createElement("div", { id: "page-content" }, pageTitle && /* @__PURE__ */ React6.createElement("h1", null, pageTitle), children, !isLandingPage && /* @__PURE__ */ React6.createElement(EditPageNote, { pageContext }))), /* @__PURE__ */ React6.createElement(NavigationMask, null)))));
371
+ return /* @__PURE__ */ React6.createElement(React6.StrictMode, null, /* @__PURE__ */ React6.createElement(PageContextProvider, {
372
+ pageContext
373
+ }, /* @__PURE__ */ React6.createElement("div", {
374
+ id: "page-layout",
375
+ className: isLandingPage ? "landing-page" : "doc-page"
376
+ }, /* @__PURE__ */ React6.createElement("div", {
377
+ id: "navigation-wrapper"
378
+ }, /* @__PURE__ */ React6.createElement(Navigation, {
379
+ pageContext
380
+ })), /* @__PURE__ */ React6.createElement(NavigationFullscreenButton, null), /* @__PURE__ */ React6.createElement("div", {
381
+ id: "page-wrapper"
382
+ }, /* @__PURE__ */ React6.createElement("div", {
383
+ id: "page-container"
384
+ }, /* @__PURE__ */ React6.createElement(MobileHeader, null), /* @__PURE__ */ React6.createElement("div", {
385
+ id: "page-content"
386
+ }, pageTitle && /* @__PURE__ */ React6.createElement("h1", null, pageTitle), children, !isLandingPage && /* @__PURE__ */ React6.createElement(EditPageNote, {
387
+ pageContext
388
+ }))), /* @__PURE__ */ React6.createElement(NavigationMask, null)))));
379
389
  }
380
390
 
381
391
  // src/config/getConfig.ts
@@ -547,7 +557,9 @@ function parseEmojis(html) {
547
557
  async function render(pageContextOriginal) {
548
558
  const { Page } = pageContextOriginal;
549
559
  const pageContextResolved = resolvePageContext(pageContextOriginal);
550
- const page = /* @__PURE__ */ React7.createElement(PageLayout, { pageContext: pageContextResolved }, /* @__PURE__ */ React7.createElement(Page, null));
560
+ const page = /* @__PURE__ */ React7.createElement(PageLayout, {
561
+ pageContext: pageContextResolved
562
+ }, /* @__PURE__ */ React7.createElement(Page, null));
551
563
  const descriptionTag = pageContextResolved.isLandingPage ? dangerouslySkipEscape(`<meta name="description" content="${pageContextResolved.meta.tagline}" />`) : "";
552
564
  const docSearchJS = getDocSearchJS(pageContextResolved);
553
565
  const docSearchCSS = getDocSearchCSS(pageContextResolved);