Skip to content

Commit

Permalink
Workaround for mathworks links
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Dec 23, 2024
1 parent 730107d commit 76672cb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,14 @@
linkcheck_ignore = [
"https://crates.io/crates/nwbview",
r"https://.*\.incf\.org/.*", # temporary ignore until SSL certificate issue is resolved

]

# some websites seem to block the sphinx link checker
linkcheck_request_headers = {
r'https://www.mathworks.com/': {
'User-Agent': 'Mozilla/5.0 (X11; Linux i686; rv:124.0) Gecko/20100101 Firefox/124.0'
},
}

# -- Build the nwb project analytics in the current directory
build_project_analytics(target_dir=os.path.dirname(__file__))

0 comments on commit 76672cb

Please sign in to comment.