浏览代码

ci: Do not linkcheck www.intel.com URLs

They fail with a 403 Client Error, perhaps due to our once-per-day
request being classified as scraping.
Brad King 2 年之前
父节点
当前提交
d865d5bce1
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      Utilities/Sphinx/conf.py.in

+ 5 - 1
Utilities/Sphinx/conf.py.in

@@ -88,7 +88,11 @@ html_favicon = '@conf_path@/static/cmake-favicon.ico'
 # qthelp_namespace = "org.cmake"
 # qthelp_namespace = "org.cmake"
 # qthelp_qch_name = "CMake.qch"
 # qthelp_qch_name = "CMake.qch"
 
 
-linkcheck_ignore = [r'about:|https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack']
+linkcheck_ignore = [
+    r'about:',
+    r'https://gitlab\.kitware\.com/cmake/community/-/wikis/doc/cpack',
+    r'https://www.intel.com/',
+]
 
 
 linkcheck_allowed_redirects = {
 linkcheck_allowed_redirects = {
     r'https://cdash\.org': r'https://www\.cdash\.org/',
     r'https://cdash\.org': r'https://www\.cdash\.org/',