diff options
author | Brad King <brad.king@kitware.com> | 2023-02-15 11:55:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-02-17 13:45:01 (GMT) |
commit | 14506f49a2440587241e3bf4da326dd0cad663ba (patch) | |
tree | d04a1adb509b9124207564e88ffdd5d58a738a65 /Utilities/Sphinx/conf.py.in | |
parent | 3c5b34af9db82cb88016aae5e95b3556af611c2e (diff) | |
download | CMake-14506f49a2440587241e3bf4da326dd0cad663ba.zip CMake-14506f49a2440587241e3bf4da326dd0cad663ba.tar.gz CMake-14506f49a2440587241e3bf4da326dd0cad663ba.tar.bz2 |
Utilities/Sphinx: Configure linkcheck allowed permanent redirects
Some permanent redirects are part of the structure of their site
to make URLs look nicer. Allow them.
Diffstat (limited to 'Utilities/Sphinx/conf.py.in')
-rw-r--r-- | Utilities/Sphinx/conf.py.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Utilities/Sphinx/conf.py.in b/Utilities/Sphinx/conf.py.in index fc3ecb5..d4e4059 100644 --- a/Utilities/Sphinx/conf.py.in +++ b/Utilities/Sphinx/conf.py.in @@ -89,3 +89,11 @@ html_favicon = '@conf_path@/static/cmake-favicon.ico' # qthelp_qch_name = "CMake.qch" linkcheck_ignore = [r'about:|https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack'] + +linkcheck_allowed_redirects = { + r'https://cdash\.org': r'https://www\.cdash\.org/', + r'https://docs\.nvidia\.com/cuda/': r'https://docs\.nvidia\.com/cuda/index\.html', + r'https://learn\.microsoft\.com/en-us/cpp/c-language/parsing-c-command-line-arguments': r'https://learn\.microsoft\.com/en-us/cpp/c-language/parsing-c-command-line-arguments\?.*', + r'https://openjdk\.java\.net/jeps/313': r'https://openjdk\.org:443/jeps/313', + r'https://www\.sphinx-doc\.org': r'https://www\.sphinx-doc\.org/en/master/', +} |