Fix some regex in docs/conf.py 24/96524/1
authorGuillaume Lambert <guillaume.lambert@orange.com>
Fri, 23 Apr 2021 13:49:31 +0000 (15:49 +0200)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Mon, 14 Jun 2021 09:11:13 +0000 (11:11 +0200)
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: I847bcbb0744f7049097cdb840f0835cc9af46d9b

docs/conf.py

index ab4590aa8b3b8b8aefe3eb7c45b19f7d792a81ef..7b80e1a6c6e96151eecac12794e7e9d4c41cfd90 100755 (executable)
@@ -59,7 +59,7 @@ linkcheck_ignore = [
     # URL returns a 403 Forbidden
     'https://www.osgi.org',
     # Ignore anchors on github.com because linkcheck fails on them
-    '^http[s]://github.com/.*#',
+    '^https?://github.com/.*#',
     # Ignore webchat anchors because '#' is not an anchor for this app
     'https://webchat.freenode.net/#',
     # Ignore google docs anchors
@@ -68,7 +68,7 @@ linkcheck_ignore = [
     '../_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/.*',
+    '^https?://tools.ietf.org/html/.*',
 ]
 linkcheck_timeout = 300