Skip to content

Commit 9f29eff

Browse files
committed
Check if namespace is documented
1 parent 3a162f3 commit 9f29eff

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/lib/reference.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,10 @@ const getNamespacePaths = (routes: Route[]): string[] => {
8585
new Set(
8686
routes
8787
.filter(({ isUndocumented }) => !isUndocumented)
88-
.filter(({ name }) => !name.startsWith('unstable_'))
8988
.flatMap((route) =>
90-
route.namespace != null ? [route.namespace.path] : [],
89+
route.namespace != null && !route.namespace.isUndocumented
90+
? [route.namespace.path]
91+
: [],
9192
),
9293
),
9394
)

0 commit comments

Comments
 (0)