Skip to content

Commit dd67e3b

Browse files
croth1jakirkham
authored andcommitted
try fixing linkcheck 403 with custom user_agent
xref: sphinx-doc/sphinx#7369
1 parent 916a5fe commit dd67e3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
todo_include_todos = True
113113

114114
# ---- Options for link validation --------
115+
user_agent = 'Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0'
115116

116117
anchor_check_fps = [
117118
r'https://conda-forge.org/status/#armosxaddition$',

0 commit comments

Comments
 (0)