Skip to content

Commit

Permalink
Merge pull request #3 from AnyBody/user-agent-link-check
Browse files Browse the repository at this point in the history
Update conf.py with user agent and linkcheck_ignore
  • Loading branch information
melund authored Jan 17, 2024
2 parents 107c11e + a812138 commit b7cd903
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,8 @@ def tagged_commit():
ogp_use_first_image = True # if not found defaults to 'ogp_image'


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"

linkcheck_ignore = [
r".*linkcheck_ignore",
"https://doi.org/10.1115/1.4037100", # asme.org prevents the linkcheck
Expand Down

0 comments on commit b7cd903

Please sign in to comment.