Skip to content

Commit

Permalink
fix: disable jsdoc transform due to issues
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Sep 12, 2024
1 parent d146591 commit 62ede86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/server/plugins/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default defineNitroPlugin((nitroApp) => {
transformGithubAlert(node)
transformStepsList(node)
transformCodeGroups(idx, file.body?.children)
transformJSDocs(idx, file.body?.children)
// transformJSDocs(idx, file.body?.children)
}
})
})
Expand Down Expand Up @@ -215,7 +215,7 @@ function _isNamedCodeBlock(children: ContentNode): boolean {

// --- transform automd jsdocs ---

function transformJSDocs(currChildIdx: number, children: ContentNode[] = []) {
export function transformJSDocs(currChildIdx: number, children: ContentNode[] = []) {
if (!children?.length || !_isJSDocBlock(children[currChildIdx])) {
return
}
Expand Down

0 comments on commit 62ede86

Please sign in to comment.