docs: configure linkcheck

Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19574>
This commit is contained in:
Erik Faye-Lund 2022-11-07 12:03:57 +01:00
parent 72718daeac
commit 80b5a7d48f

View File

@ -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.