From 7da18f1911db19cb5eb7b51cd8475404e5e3a9c6 Mon Sep 17 00:00:00 2001 From: Juuddi Date: Tue, 4 Jun 2024 16:21:38 -0500 Subject: [PATCH] Remove frontmatter description --- docs/plugins/typedoc-plugin-mintlify-frontmatter.mjs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/plugins/typedoc-plugin-mintlify-frontmatter.mjs b/docs/plugins/typedoc-plugin-mintlify-frontmatter.mjs index 2605664a..7d2bd930 100644 --- a/docs/plugins/typedoc-plugin-mintlify-frontmatter.mjs +++ b/docs/plugins/typedoc-plugin-mintlify-frontmatter.mjs @@ -13,14 +13,8 @@ export function load(app) { * @param {import('typedoc-plugin-markdown').MarkdownPageEvent} page */ (page) => { - let summary = ''; - if (page.model?.comment?.summary) { - summary = page.model.comment.summary[0].text + '...'; - summary = summary.replace(/\n/g, ' '); - } page.frontmatter = { title: page.model?.name, - description: summary, ...page.frontmatter, }; },