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 961c429 commit 9fddd5cCopy full SHA for 9fddd5c
repo-scripts/api-documenter/src/toc.ts
@@ -85,6 +85,20 @@ function generateTocRecursively(
85
section: []
86
};
87
88
+ for (const member of apiItem.members) {
89
+ // only classes and interfaces have dedicated pages
90
+ if (
91
+ member.kind === ApiItemKind.Class ||
92
+ member.kind === ApiItemKind.Interface
93
+ ) {
94
+ const fileName = getFilenameForApiItem(member, addFileNameSuffix);
95
+ entryPointToc.section!.push({
96
+ title: member.displayName,
97
+ path: `${g3Path}/${fileName}`
98
+ });
99
+ }
100
101
+
102
toc.push(entryPointToc);
103
} else {
104
// travel the api tree to find the next entry point
0 commit comments