Skip to content

Commit b7cd903

Browse files
authored
Merge pull request #3 from AnyBody/user-agent-link-check
Update conf.py with user agent and linkcheck_ignore
2 parents 107c11e + a812138 commit b7cd903

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,8 @@ def tagged_commit():
434434
ogp_use_first_image = True # if not found defaults to 'ogp_image'
435435

436436

437+
user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
438+
437439
linkcheck_ignore = [
438440
r".*linkcheck_ignore",
439441
"https://doi.org/10.1115/1.4037100", # asme.org prevents the linkcheck

0 commit comments

Comments
 (0)