@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
|
@@ -2201,19 +2201,9 @@ function buildTabbedOrSidebar(ctx, scopeSegs, tabsPresent, scopePrefix) {
|
|
|
2201
2201
|
// (matching v2) while still starting with the version slug, keeping
|
|
2202
2202
|
// the subtree inside the default-version prune window (see
|
|
2203
2203
|
// {@link structuralNodeSlug}).
|
|
2204
|
-
//
|
|
2205
|
-
//
|
|
2206
|
-
|
|
2207
|
-
// contribute a URL segment — its entries live at the scope level
|
|
2208
|
-
// (e.g. `home/changelog`). But a REAL navigable tab (`tab_type ===
|
|
2209
|
-
// "tab"`) DOES contribute a segment, and its changelog's entries
|
|
2210
|
-
// live under the tab slug (e.g. `docs/release-notes/...`). Rooting
|
|
2211
|
-
// such a changelog at the bare scope prefix drops the tab segment,
|
|
2212
|
-
// so the changelog node lands at `release-notes` while its entries
|
|
2213
|
-
// and the requested route are `docs/release-notes` — `findNode`
|
|
2214
|
-
// then misses and the page 404s. Root it at the tab slug so the
|
|
2215
|
-
// node matches its entries.
|
|
2216
|
-
child: buildSidebarRootWithVariants(ctx, tabSegs, tabSlug, tabType === "tab" ? tabSlug : scopePrefix)
|
|
2204
|
+
// Changelog sidebar children use the product/version prefix — v2
|
|
2205
|
+
// roots changelogs at the scope level, not under the tab.
|
|
2206
|
+
child: buildSidebarRootWithVariants(ctx, tabSegs, tabSlug, scopePrefix)
|
|
2217
2207
|
};
|
|
2218
2208
|
});
|
|
2219
2209
|
const first = scopeSegs[0];
|