From 7621cdfeb9f085f6634ea00592d111fef9988139 Mon Sep 17 00:00:00 2001 From: Jack Wilsdon Date: Thu, 22 Oct 2020 00:02:55 +0100 Subject: [PATCH 1/2] Fix GitHub user page regex --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 018ef5397..0066c3f82 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -30,7 +30,7 @@ extlinks = { linkcheck_ignore = [ r'https://github.com/beetbox/beets/issues/', - r'https://github.com/\w+$', # ignore user pages + r'https://github.com/[^/]+$', # ignore user pages r'.*localhost.*', r'https://www.musixmatch.com/', # blocks requests ] From 14a56303815573666b69f3e60fdbeb940a0bf11e Mon Sep 17 00:00:00 2001 From: Jack Wilsdon Date: Thu, 22 Oct 2020 00:03:18 +0100 Subject: [PATCH 2/2] Add genius to linkcheck ignore list --- docs/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/conf.py b/docs/conf.py index 0066c3f82..f77838e81 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -33,6 +33,7 @@ linkcheck_ignore = [ r'https://github.com/[^/]+$', # ignore user pages r'.*localhost.*', r'https://www.musixmatch.com/', # blocks requests + r'https://genius.com/', # blocks requests ] # Options for HTML output