@fern-api/fdr-sdk 1.2.39-afedd1fee5 → 1.2.39-b2af2d662a
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 +2 -2
- package/dist/js/navigation/ledger-root-builder.js.map +1 -1
- package/dist/js/navigation/ledger-root-builder.mjs +2 -2
- package/dist/js/navigation/ledger-root-builder.mjs.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/navigation/__test__/ledger-root-builder.skipSlugApiReference.test.d.ts +2 -0
- package/dist/types/navigation/__test__/ledger-root-builder.skipSlugApiReference.test.d.ts.map +1 -0
- package/dist/types/navigation/ledger-root-builder.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1675,7 +1675,7 @@ function buildSidebarRootChildren(ctx, scopeSegs, scopePrefix, changelogScopePre
|
|
|
1675
1675
|
if (type === "tabRoot" && metaBool(s.seg.metadata, "landingPage") === true) {
|
|
1676
1676
|
continue;
|
|
1677
1677
|
}
|
|
1678
|
-
if (type === "tabRoot" || sec === "" && type !== "section") {
|
|
1678
|
+
if (type === "tabRoot" || sec === "" && type !== "section" && type !== "apiReference" && type !== "apiPackage" && type !== "changelog") {
|
|
1679
1679
|
for (const r of s.nav) {
|
|
1680
1680
|
const node = artifactToNode(ctx, r);
|
|
1681
1681
|
if (node != null) {
|
|
@@ -1692,7 +1692,7 @@ function buildSidebarRootChildren(ctx, scopeSegs, scopePrefix, changelogScopePre
|
|
|
1692
1692
|
}
|
|
1693
1693
|
const parent = parentSectionPath(sec);
|
|
1694
1694
|
const isRootLevel = parent === "" || !sectionPaths.has(parent) && nearestExistingAncestor(sec, sectionPaths) === "";
|
|
1695
|
-
if (isRootLevel && hasRootSection) {
|
|
1695
|
+
if (isRootLevel && hasRootSection && sec !== "") {
|
|
1696
1696
|
continue;
|
|
1697
1697
|
}
|
|
1698
1698
|
if (isRootLevel) {
|