@fern-api/fdr-sdk 1.2.64-0fa778bbab → 1.2.64-401215dbe4
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/js/navigation/ledger-root-builder.js +3 -13
- package/dist/js/navigation/ledger-root-builder.js.map +1 -1
- package/dist/js/navigation/ledger-root-builder.mjs +3 -13
- package/dist/js/navigation/ledger-root-builder.mjs.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -2242,19 +2242,9 @@ function buildTabbedOrSidebar(ctx, scopeSegs, tabsPresent, scopePrefix) {
|
|
|
2242
2242
|
// (matching v2) while still starting with the version slug, keeping
|
|
2243
2243
|
// the subtree inside the default-version prune window (see
|
|
2244
2244
|
// {@link structuralNodeSlug}).
|
|
2245
|
-
//
|
|
2246
|
-
//
|
|
2247
|
-
|
|
2248
|
-
// contribute a URL segment — its entries live at the scope level
|
|
2249
|
-
// (e.g. `home/changelog`). But a REAL navigable tab (`tab_type ===
|
|
2250
|
-
// "tab"`) DOES contribute a segment, and its changelog's entries
|
|
2251
|
-
// live under the tab slug (e.g. `docs/release-notes/...`). Rooting
|
|
2252
|
-
// such a changelog at the bare scope prefix drops the tab segment,
|
|
2253
|
-
// so the changelog node lands at `release-notes` while its entries
|
|
2254
|
-
// and the requested route are `docs/release-notes` — `findNode`
|
|
2255
|
-
// then misses and the page 404s. Root it at the tab slug so the
|
|
2256
|
-
// node matches its entries.
|
|
2257
|
-
child: buildSidebarRootWithVariants(ctx, tabSegs, tabSlug, tabType === "tab" ? tabSlug : scopePrefix)
|
|
2245
|
+
// Changelog sidebar children use the product/version prefix — v2
|
|
2246
|
+
// roots changelogs at the scope level, not under the tab.
|
|
2247
|
+
child: buildSidebarRootWithVariants(ctx, tabSegs, tabSlug, scopePrefix)
|
|
2258
2248
|
};
|
|
2259
2249
|
});
|
|
2260
2250
|
const first = scopeSegs[0];
|