diff --git a/mkdocs.yml b/mkdocs.yml index 58af3c2d90..fb121ba437 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -184,5 +184,10 @@ extra_javascript: - assets\javascripts\version-select.js plugins: - search - ## uncomment the next line to run the HTML Proofer in development to check for bad links - #- htmlproofer + - htmlproofer: + enabled: !ENV [ENABLED_HTMLPROOFER, False] + raise_error: True + raise_error_excludes: + 404: ['https://support.google.com/accounts/answer/185833?hl=en', + 'https://support.google.com/accounts/answer/6010255?hl=en'] + 429: ['*']