-
|
On our documentation project we have an english docs directory Is there currently any built-in functionality to exclude directories from getting checked? We would like to only check links for our english translation docs directory. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
We don't have that ability for now but it makes sense to me, and I'm thinking we could allow This would also help for false positive broken anchors (see #9808) In the meantime we use this trick on our own website for similar reasons: onBrokenLinks:
process.env.DOCUSAURUS_CURRENT_LOCALE !== defaultLocale
? 'warn'
: 'throw', |
Beta Was this translation helpful? Give feedback.
We don't have that ability for now but it makes sense to me, and I'm thinking we could allow
onBrokenLinks: (links) => {}callbacks.This would also help for false positive broken anchors (see #9808)
In the meantime we use this trick on our own website for similar reasons: