From 80b5a7d48fe5af3ca7a2bbff0c74c66870c7319e Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Mon, 7 Nov 2022 12:03:57 +0100 Subject: [PATCH] docs: configure linkcheck Reviewed-by: Eric Engestrom Part-of: --- docs/conf.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 6e588ebbf9c..73d71d9a465 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -140,6 +140,18 @@ html_redirects = [ ] +# -- Options for linkcheck ------------------------------------------------ + +linkcheck_ignore = [ + r'specs/.*\.spec', # gets copied during the build process + r'news:.*', # seems linkcheck doesn't like the news: URI-scheme... + r'http://mesa-ci-results.jf.intel.com', # only available for Intel employees + r'https://gitlab.com/.*#.*', # needs JS eval + r'https://gitlab.freedesktop.org/.*#.*', # needs JS eval + r'https://github.com/.*#.*', # needs JS eval +] + + # -- Options for HTMLHelp output ------------------------------------------ # Output file base name for HTML help builder.