summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-02-17 13:54:45 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-02-17 13:54:51 (GMT)
commitf7be10b26a403763ef449c8d192938213dca8674 (patch)
tree1ff1ed3ba3d5979d885b1b3714b1171f5930e7da /Utilities
parent0089a32c2c83685a2ddac1705bb38d3cee6a5a7b (diff)
parent0787148785decd5a42aeb4b07f3ac82cf5c26be5 (diff)
downloadCMake-f7be10b26a403763ef449c8d192938213dca8674.zip
CMake-f7be10b26a403763ef449c8d192938213dca8674.tar.gz
CMake-f7be10b26a403763ef449c8d192938213dca8674.tar.bz2
Merge topic 'ci-linkcheck'
0787148785 gitlab-ci: Report sphinx logs as artifacts of its lint job 14506f49a2 Utilities/Sphinx: Configure linkcheck allowed permanent redirects 3c5b34af9d Help: Replace links with their permanent redirects 1004be159f FindCUDAToolkit: Replace broken links to NVIDIA documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8210
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Sphinx/conf.py.in8
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/',
+}