Skip to content

Commit 135d029

Browse files
authored
fix: More linkcheck ignore for docs (#2607)
* Add more linkcheck ignores to the docs - doi.org routes to journals.aps.org or academic.oup.com - fnal.gov blocks GitHub Actions - GitHub anchor links do not work
1 parent 8d23b82 commit 135d029

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/conf.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,20 @@ def setup(app):
529529
# and ReadTheDocs need to reference them
530530
r'https://github.com/scikit-hep/pyhf/releases/tag/.*',
531531
r'https://pyhf.readthedocs.io/en/.*',
532+
# the following are 403s as they map to journals.aps.org or academic.oup.com
533+
r'https://doi.org/10.1093/ptep/ptad144',
534+
r'https://doi.org/10.1103/PhysRevD.104.055017',
535+
r'https://doi.org/10.1103/PhysRevD.107.095021',
536+
r'https://doi.org/10.1103/PhysRevD.108.016002',
537+
r'https://doi.org/10.1103/PhysRevD.106.032005',
538+
r'https://doi.org/10.1103/PhysRevLett.127.181802',
539+
r'https://doi.org/10.1103/PhysRevLett.130.231801',
540+
r'https://doi.org/10.1103/PhysRevLett.131.211802',
541+
# FNAL blocks GitHub Actions?
542+
r'https://indico.fnal.gov/event/17566/contributions/44103/',
543+
r'https://indico.fnal.gov/event/17566/session/0/contribution/99',
544+
# GitHub anchor links don't work
545+
r'https://github.com/scikit-hep/pyhf/issues/850#issuecomment-1239975121',
532546
]
533547
linkcheck_retries = 50
534548

0 commit comments

Comments
 (0)