@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.
@@ -1634,7 +1634,7 @@ function buildSidebarRootChildren(ctx, scopeSegs, scopePrefix, changelogScopePre
1634
1634
  if (type === "tabRoot" && metaBool(s.seg.metadata, "landingPage") === true) {
1635
1635
  continue;
1636
1636
  }
1637
- if (type === "tabRoot" || sec === "" && type !== "section") {
1637
+ if (type === "tabRoot" || sec === "" && type !== "section" && type !== "apiReference" && type !== "apiPackage" && type !== "changelog") {
1638
1638
  for (const r of s.nav) {
1639
1639
  const node = artifactToNode(ctx, r);
1640
1640
  if (node != null) {
@@ -1651,7 +1651,7 @@ function buildSidebarRootChildren(ctx, scopeSegs, scopePrefix, changelogScopePre
1651
1651
  }
1652
1652
  const parent = parentSectionPath(sec);
1653
1653
  const isRootLevel = parent === "" || !sectionPaths.has(parent) && nearestExistingAncestor(sec, sectionPaths) === "";
1654
- if (isRootLevel && hasRootSection) {
1654
+ if (isRootLevel && hasRootSection && sec !== "") {
1655
1655
  continue;
1656
1656
  }
1657
1657
  if (isRootLevel) {