typedoc-plugin-frontmatter
Advanced tools
Comparing version
@@ -35,3 +35,4 @@ /** | ||
} | ||
if (path.parse(page.url).name === path.parse(page.project?.url || '').name) { | ||
if (path.parse(page.url).name === | ||
path.parse(app.renderer.router?.getFullUrl(page.project) || '').name) { | ||
page.frontmatter = { | ||
@@ -38,0 +39,0 @@ ...page.frontmatter, |
{ | ||
"name": "typedoc-plugin-frontmatter", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "A plugin for TypeDoc ( + typedoc-plugin-markdown ) that prepends configurable frontmatter to page content.", | ||
@@ -37,3 +37,3 @@ "exports": { | ||
"peerDependencies": { | ||
"typedoc-plugin-markdown": ">=4.4.2" | ||
"typedoc-plugin-markdown": ">=4.5.0" | ||
}, | ||
@@ -40,0 +40,0 @@ "keywords": [ |
15767
0.25%397
0.25%