Skip to content

Commit

Permalink
Add config for linkcheck in Sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
J535D165 committed Nov 26, 2023
1 parent 5718eac commit 3693d2a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,3 +270,14 @@
"guides/simulation_study_results": "https://asreview.nl/research/",
"guides/sim_overview": "../simulation_overview.html",
}

# -- Options for linkcheck ----------------------------------------------------

linkcheck_ignore = [
r"http://localhost:\d+[/]*.*"
]

linkcheck_allowed_redirects = {
r"https://doi.org/.*": r"https://.*",
r"https://asreview.ai/.*": r"https://asreview.nl/.*"
}

0 comments on commit 3693d2a

Please sign in to comment.