1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00

Merge pull request #632 from NixOS/yuki_is_bored/tempfix-linkcheck

Ignore linkcheck on GitHub file viewer/browser
This commit is contained in:
Domen Kožar 2023-07-07 12:17:23 +01:00 committed by GitHub
commit 0572f8b7f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -416,7 +416,10 @@ linkcheck_ignore = [
# returns 403 on CI
r"https://www.lesswrong.com",
# Linkcheck fails on anchors in GH READMEs, see https://github.com/sphinx-doc/sphinx/issues/9016
r"https://github.com/cachix/install-nix-action#how-do-i-run-nixos-tests"
r"https://github.com/cachix/install-nix-action#how-do-i-run-nixos-tests",
# Linkcheck fails on anchors in GH browser/file viewer, see https://github.com/sphinx-doc/sphinx/issues/11484
r"https://github\.com/.+/.+/blob/.*#.*$",
r"https://github\.com/.+/.+/tree/.*#.*$",
]
# Anchors are not present in HTML