Ignore localhost and gitweb links 80/78380/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 3 Dec 2018 09:15:04 +0000 (17:15 +0800)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 3 Dec 2018 09:35:09 +0000 (17:35 +0800)
gitweb links are auto-generated and we can just assume they work
otherwise docs-linkcheck will take forever to complete.

Issue: DOCS-40
Change-Id: I512ce4decbf483c7718a82c7311e42fe02c35418
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
docs/conf.py

index ddbfe81c5e2a05833c3ac853604e9daf6837763d..32b15c8aa431879d365551b6ef81bec791e60e03 100755 (executable)
@@ -43,11 +43,13 @@ intersphinx_mapping['odl-nitrogen'] = ('https://docs.opendaylight.org/en/stable-
 intersphinx_mapping['odl-carbon'] = ('https://docs.opendaylight.org/en/stable-carbon/', None)
 
 linkcheck_ignore = [
+    'http://localhost',
     # Ignore jenkins because it's often slow to respond.
     'https://jenkins.opendaylight.org/releng',
     'https://jenkins.opendaylight.org/sandbox',
     # The '#' in the path makes sphinx think it's an anchor
     'https://git.opendaylight.org/gerrit/#/admin/projects/releng/builder',
+    'https://git.opendaylight.org/gerrit/gitweb',
 ]
 
 nitpicky = True