diff --git a/conf.py b/conf.py index dac7566340a..a2e1513b49a 100644 --- a/conf.py +++ b/conf.py @@ -176,6 +176,15 @@ sitemap_url_scheme = '{version}/{link}' +# -- Options for linkcheck ------------------------------------------------ +linkcheck_ignore = [ + r"^(?!http(|s)://).*", # For ignore local link +] +linkcheck_anchors_ignore_for_url = [ + r'https://github\.com/.*', + r'https://index\.ros\.org/.*' +] + class RedirectFrom(Directive): has_content = True