We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 306eda1 commit 8d49c63Copy full SHA for 8d49c63
packages/fern-docs/components/src/navigation/pageUtils.ts
@@ -168,13 +168,13 @@ export function getAllSectionsFromSectionNode(
168
sectionPath: [
169
...sectionNode.sectionPath,
170
{
171
- id: sectionNode.id,
172
- type: sectionNode.type,
173
- title: sectionNode.title
+ id: child.id,
+ type: child.type,
+ title: child.title
174
}
175
]
176
};
177
- result.push(section);
+ result.push(section, ...getAllSectionsFromSectionNode(section));
178
179
180
return result;
0 commit comments