Skip to content
Discussion options

You must be logged in to vote

Yes, we do this too on our own website!

    onBrokenLinks:
      process.env.DOCUSAURUS_CURRENT_LOCALE !== defaultLocale
        ? 'warn'
        : 'throw',
    onBrokenAnchors:
      process.env.DOCUSAURUS_CURRENT_LOCALE !== defaultLocale
        ? 'warn'
        : 'throw',

In the future, these APIs will likely accept a callback to give you more flexibility (#11101)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rrousselGit
Comment options

Answer selected by rrousselGit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants