From 5bcdb7502bfc9a20e772e069d4168f0b43332193 Mon Sep 17 00:00:00 2001 From: Mohamed Shams El-Deen Date: Sat, 13 Jun 2026 07:50:18 +0300 Subject: [PATCH] fix(theme): format Extends to match doc-kit specification --- plugins/theme/partials/index.mjs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/theme/partials/index.mjs b/plugins/theme/partials/index.mjs index c56ee3a1..1151a645 100644 --- a/plugins/theme/partials/index.mjs +++ b/plugins/theme/partials/index.mjs @@ -202,10 +202,11 @@ export default ctx => { ); } - if (model.typeHierarchy?.next) { + if (model.typeHierarchy?.next && !model.typeHierarchy.isTarget) { md.push( - ctx.partials.hierarchy(model.typeHierarchy, { - headingLevel: options.headingLevel, + ctx.helpers.typedListItem({ + label: 'Extends', + type: model.typeHierarchy.types[0], }) ); }