Skip to content

Commit f4ec5dc

Browse files
committed
Replace linkcheck ignore with custom user agent
This at least allows the check to proceed.
1 parent 3eab46f commit f4ec5dc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

_config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,9 @@ bibtex_bibfiles:
8989

9090
sphinx:
9191
config:
92-
linkcheck_ignore:
93-
- https://docs.github.com
92+
linkcheck_request_headers:
93+
"https://docs.github.com/":
94+
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0
9495
html_favicon: images/icons/favicon.ico
9596
html_last_updated_fmt: '%-d %B %Y'
9697
html_theme: sphinx_pythia_theme

0 commit comments

Comments
 (0)