From 8da7be2029fb01ef882bd3af30131b0f30657ea8 Mon Sep 17 00:00:00 2001 From: crowlkats Date: Mon, 3 Jun 2024 12:33:18 +0200 Subject: [PATCH] fix(docs): generate pages for internal symbols --- api/src/docs.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/src/docs.rs b/api/src/docs.rs index cd26f8e3..84c26620 100644 --- a/api/src/docs.rs +++ b/api/src/docs.rs @@ -531,8 +531,7 @@ fn generate_symbol_page( let nodes = doc_nodes .iter() .filter(|node| { - !(matches!(node.kind, DocNodeKind::ModuleDoc | DocNodeKind::Import) - || node.declaration_kind == deno_doc::node::DeclarationKind::Private) + !matches!(node.kind, DocNodeKind::ModuleDoc | DocNodeKind::Import) && node.get_name() == next_part }) .cloned()