From 956ca036af9cd48ffde38d2126b6f04e8e3d4ae2 Mon Sep 17 00:00:00 2001 From: tgreyuk Date: Thu, 27 Jun 2024 22:59:59 +0100 Subject: [PATCH] fix(core): fix missing symbols edge case --- .../src/theme/context/templates/project.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/typedoc-plugin-markdown/src/theme/context/templates/project.ts b/packages/typedoc-plugin-markdown/src/theme/context/templates/project.ts index bce0fc70..06f93a84 100644 --- a/packages/typedoc-plugin-markdown/src/theme/context/templates/project.ts +++ b/packages/typedoc-plugin-markdown/src/theme/context/templates/project.ts @@ -57,6 +57,10 @@ export function project( md.push(this.helpers.getGroupIndex(group)); } + if (page.model.children?.some((child) => child.kind !== ReflectionKind.Module)) { + md.push(this.partials.body(page.model, { headingLevel: 2 })); + } + md.push( this.partials.reflectionIndex(page.model, { headingLevel: 2,