From ab2108cadc98d401a858a416326a999cc14886d1 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 13 Jul 2021 17:52:32 +0200 Subject: [PATCH] docs: Ignore github issues in linkcheck This allows sphinx-build -blinkcheck . /dev/null To be used without getting rate-limited to hell by github because the release notes include hundreds of links to our own issues. Just assume all issue numbers are valid. --- doc_src/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc_src/conf.py b/doc_src/conf.py index 75befe749..a7730ad59 100644 --- a/doc_src/conf.py +++ b/doc_src/conf.py @@ -239,3 +239,5 @@ epub_exclude_files = ["search.html"] # Disable smart-quotes to prevent double dashes from becoming emdashes. smartquotes = False + +linkcheck_ignore = [r'https://github.com/fish-shell/fish-shell/issues/\d+']