Skip to content

Commit

Permalink
Remove frontmatter description
Browse files Browse the repository at this point in the history
  • Loading branch information
Juuddi authored and rileystephens28 committed Jun 7, 2024
1 parent 4da4927 commit 7da18f1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docs/plugins/typedoc-plugin-mintlify-frontmatter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
},
Expand Down

0 comments on commit 7da18f1

Please sign in to comment.