Skip to content

Replace deprecated Docusaurus config value#111

Merged
andreaTP merged 1 commit into
bytecodealliance:mainfrom
Marcono1234:patch-1
Jul 21, 2026
Merged

Replace deprecated Docusaurus config value#111
andreaTP merged 1 commit into
bytecodealliance:mainfrom
Marcono1234:patch-1

Conversation

@Marcono1234

@Marcono1234 Marcono1234 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

See https://docusaurus.io/docs/api/docusaurus-config#onBrokenMarkdownLinks
Was previously causing a warning when building:

[WARNING] The siteConfig.onBrokenMarkdownLinks config option is deprecated and will be removed in Docusaurus v4.
Please migrate and move this option to siteConfig.markdown.hooks.onBrokenMarkdownLinks instead.

Side note: I think this config and onBrokenLinks could be set to 'throw' now if desired. There seem to be currently no broken inter-doc links.

@Marcono1234
Marcono1234 requested a review from andreaTP as a code owner July 21, 2026 16:54

@andreaTP andreaTP left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for all those fixes, that's highly welcome and helpful!

Lgtm

@andreaTP
andreaTP merged commit d9f2867 into bytecodealliance:main Jul 21, 2026
25 checks passed
@Marcono1234
Marcono1234 deleted the patch-1 branch July 21, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants