Skip to content

Commit

Permalink
Merge branch 'master' into TutorialUpdates2
Browse files Browse the repository at this point in the history
Signed-off-by: Morten Enemark Lund <[email protected]>
  • Loading branch information
melund authored Dec 16, 2024
2 parents d678f70 + a59f1eb commit 4ab48f6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# GitHub syntax highlighting
pixi.lock linguist-language=YAML linguist-generated=true
6 changes: 6 additions & 0 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ def tagged_commit():




no_index = r"""
.. meta::
:name=robots content=noindex: \
Expand Down Expand Up @@ -457,6 +458,10 @@ def tagged_commit():

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_request_headers = {
r'https://docs.github.com/': {'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux i686; '
'rv:24.0) Gecko/20100101 Firefox/24.0'}
}
linkcheck_ignore = [
r".*linkcheck_ignore",
"https://doi.org/10.1115/1.4037100", # asme.org prevents the linkcheck
Expand All @@ -466,6 +471,7 @@ def tagged_commit():
"https://doi.org/10.1080/10255840802459412", # tandfonline sometimes blocks linkcheck
"https://doi.org/10.1080/23335432.2014.993706", # tandfonline sometimes blocks linkcheck
"https://anyscript.org/tutorials/dev/", # The dev sides can sometimes be missing.
"https://www.mathworks.com/products/matlab.html", # Mathworks sometimes blocks linkcheck
]

linkcheck_allowed_redirects = {
Expand Down

0 comments on commit 4ab48f6

Please sign in to comment.