Fix Jenkins docs-linkcheck false positives 15/95615/2
authorGuillaume Lambert <guillaume.lambert@orange.com>
Wed, 31 Mar 2021 10:29:17 +0000 (12:29 +0200)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Wed, 31 Mar 2021 12:09:50 +0000 (12:09 +0000)
Ignore static contents and IETF URLs often not reachable from Jenkins minions
because of hosting connectivity issues.

Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ib338dd95058a55502825177be68acb5c39195faf

docs/conf.py

index 6ffd5b063ac78ebe6b8c05cf73e3b539e807d574..082c43918a00026bbeca27e4ddcc49c5577d445b 100755 (executable)
@@ -65,6 +65,11 @@ linkcheck_ignore = [
     'https://webchat.freenode.net/#',
     # Ignore google docs anchors
     'https://docs.google.com/presentation/d/1bnwj8CrFGo5KekONYSeIHySdkoXZiewJxkHcZjXnzkQ/edit#slide=id.g17d8ae4d92_0_137',
+    # Ignore local static contents
+    '../_static/OpenDaylight-Technical-Charter-LFN-Projects-LLC-FINAL.pdf',
+    # Ignore IETF URLs often not reachable from Jenkins minions
+    # because of hosting connectivity issues
+    '^http[s]://tools.ietf.org/html/.*',
 ]
 linkcheck_timeout = 300