From f4ec5dc7fa9f4681ff2cb5bd0f07dc9d5c00593c Mon Sep 17 00:00:00 2001 From: Ryan May Date: Tue, 12 Apr 2022 18:45:03 -0600 Subject: [PATCH 1/2] Replace linkcheck ignore with custom user agent This at least allows the check to proceed. --- _config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index 1d4aae24d..42e2db770 100644 --- a/_config.yml +++ b/_config.yml @@ -89,8 +89,9 @@ bibtex_bibfiles: sphinx: config: - linkcheck_ignore: - - https://docs.github.com + linkcheck_request_headers: + "https://docs.github.com/": + User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0 html_favicon: images/icons/favicon.ico html_last_updated_fmt: '%-d %B %Y' html_theme: sphinx_pythia_theme From 1a72b3342af3208621ac906364fa155688eebd9c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 13 Apr 2022 00:47:16 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 42e2db770..6b91fece4 100644 --- a/_config.yml +++ b/_config.yml @@ -90,7 +90,7 @@ bibtex_bibfiles: sphinx: config: linkcheck_request_headers: - "https://docs.github.com/": + 'https://docs.github.com/': User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0 html_favicon: images/icons/favicon.ico html_last_updated_fmt: '%-d %B %Y'