mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-07 18:14:05 +00:00
Check docs links in Github Actions
This commit is contained in:
12
docs/conf.py
12
docs/conf.py
@@ -88,3 +88,15 @@ pygments_style = "sphinx"
|
||||
|
||||
# MyST configuration reference: https://myst-parser.readthedocs.io/en/latest/sphinx/reference.html
|
||||
myst_heading_anchors = 3
|
||||
|
||||
linkcheck_ignore = [
|
||||
r".*github\.com.*#", # javascript based anchors
|
||||
r"http://127\.0\.0\.1:49153/.*", # example
|
||||
r"https://mybinder\.org/v2/gh/.*", # lots of 500 errors
|
||||
]
|
||||
|
||||
linkcheck_allowed_redirects = {
|
||||
r"https://results\.pre-commit\.ci/latest/github/jupyter/docker-stacks/master": r"https://results\.pre-commit\.ci/run/github/.*", # Latest master CI build
|
||||
r"https://github\.com/jupyter/docker-stacks/issues/new.*": r"https://github\.com/login.*", # Github wants user to be logon to use this features
|
||||
r"https://github\.com/orgs/jupyter/teams/docker-image-maintainers/members": r"https://github\.com/login.*",
|
||||
}
|
||||
|
Reference in New Issue
Block a user