Skip to content

Commit

Permalink
feat!: bump minimum required typedoc-plugin-markdown version to `4.…
Browse files Browse the repository at this point in the history
…1.1`

Co-authored-by: HiDeoo <[email protected]>
  • Loading branch information
Didas-git and HiDeoo authored Sep 3, 2024
1 parent d723f1a commit a5fa0d2
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 21 deletions.
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"starlight-typedoc": "workspace:*",
"typedoc": "0.26.5",
"typedoc-plugin-frontmatter": "1.0.0",
"typedoc-plugin-markdown": "4.1.0",
"typedoc-plugin-markdown": "4.1.1",
"typedoc-plugin-mdn-links": "3.0.3"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/starlight-typedoc/libs/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class StarlightTypeDocThemeRenderContext extends MarkdownThemeContext {
#addDeprecatedAside(markdown: string, blockTag: CommentTag) {
const content =
blockTag.content.length > 0
? this.partials.commentParts(blockTag.content)
? this.helpers.getCommentParts(blockTag.content)
: 'This API is no longer supported and may be removed in a future release.'

return this.#addAside(markdown, 'caution', 'Deprecated', content)
Expand Down
2 changes: 1 addition & 1 deletion packages/starlight-typedoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@astrojs/starlight": ">=0.15.0",
"astro": ">=4.0.0",
"typedoc": ">=0.26.5",
"typedoc-plugin-markdown": ">=4.0.0"
"typedoc-plugin-markdown": ">=4.1.1"
},
"engines": {
"node": ">=18.14.1"
Expand Down
33 changes: 15 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a5fa0d2

Please sign in to comment.