diff --git a/packages/webdoc-default-template/tmpl/components/members-explorer/index.tmpl b/packages/webdoc-default-template/tmpl/components/members-explorer/index.tmpl index 9c1b0480..e3e7bda9 100644 --- a/packages/webdoc-default-template/tmpl/components/members-explorer/index.tmpl +++ b/packages/webdoc-default-template/tmpl/components/members-explorer/index.tmpl @@ -12,6 +12,8 @@ const doc = obj; const members = doc.members; + if (members.length === 0) return; + const publicProperties = this.plugins.categoryFilter(doc, { access: "public", type: "PropertyDoc" diff --git a/packages/webdoc-default-template/tmpl/document.tmpl b/packages/webdoc-default-template/tmpl/document.tmpl index b65a1ee8..10daa8eb 100644 --- a/packages/webdoc-default-template/tmpl/document.tmpl +++ b/packages/webdoc-default-template/tmpl/document.tmpl @@ -53,9 +53,14 @@ require, sources, }) ?> + + + - + 0) { ?> + + - \ No newline at end of file +