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

docs/conf.py

index db4f3a80218333fce69005d428dad779ead3c6e8..600a3421c4af2835498d422b026585720b502a2c 100755 (executable)
@@ -60,7 +60,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
@@ -69,7 +69,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/.*',
     # pending release -- to remove once published
     'https://www.opendaylight.org/current-release-silicon',
 ]