You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -141,32 +146,34 @@ async function executeServerCode(serverCodeMap, requireFn, virtualImports) {
141
146
}
142
147
143
148
/**
144
-
* Processes JSX AST entries into complete HTML pages, client JS bundles, and CSS.
149
+
* Bundles pre-converted JSX code into complete HTML pages, client JS bundles,
150
+
* and CSS. Conversion (JSX AST → code) happens upstream via
151
+
* {@link createCodeConverter} so the heavy ASTs are already discarded; this
152
+
* step needs every entry together for code-splitting and the shared sidebar.
145
153
*
146
-
* @param {Array<import('../../jsx-ast/utils/buildContent.mjs').JSXContent>} entries - The JSX AST entries to process.
147
-
* @param {string} template - The HTML template string for the output pages.
148
-
* @param {Array<{ data: import('../../metadata/types').MetadataEntry }>} [sidebarEntries] - Entries used to build the sidebar page list. Defaults to `entries`. Pass the full set when rendering a subset (e.g. the `all` page) so the sidebar still links to every module.
154
+
* @param {object} params
155
+
* @param {Map<string, string>} params.serverCodeMap - Server-side code per page.
156
+
* @param {Map<string, string>} params.clientCodeMap - Client-side code per page.
157
+
* @param {Array<import('../../metadata/types').MetadataEntry>} params.datas - Per-page metadata, in render order.
158
+
* @param {Array<{ data: import('../../metadata/types').MetadataEntry }>} params.sidebarEntries - Entries used to build the sidebar page list (real module pages only).
159
+
* @param {string} params.template - The HTML template string for the output pages.
0 commit comments