@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.
@@ -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) {