mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
update linkcheck (#9193)
This commit is contained in:
parent
f4b7707af5
commit
b5709f7d18
2 changed files with 7 additions and 2 deletions
6
.github/workflows/linkcheck.yml
vendored
6
.github/workflows/linkcheck.yml
vendored
|
|
@ -1,6 +1,9 @@
|
|||
name: linkcheck
|
||||
on:
|
||||
pull_request: {}
|
||||
pull_request:
|
||||
paths:
|
||||
- docs/conf.py
|
||||
- .github/workflows/linkcheck.yml
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
|
@ -13,7 +16,6 @@ env:
|
|||
|
||||
jobs:
|
||||
docs-linkcheck:
|
||||
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || (github.event_name == 'pull_request' && contains(github.event.pull_request.title, 'linkcheck'))
|
||||
runs-on: ubuntu-latest
|
||||
name: "linkcheck"
|
||||
timeout-minutes: 10
|
||||
|
|
|
|||
|
|
@ -202,6 +202,9 @@ linkcheck_ignore = [
|
|||
r"https://www.oscca.gov.cn",
|
||||
# Cloudflare returns 403s for all non-browser requests
|
||||
r"https://speakerdeck.com",
|
||||
# GitHub changed how they do page renders so anchor detection
|
||||
# no longer works in source view
|
||||
r"https://github.com/.*/blob/.*#L\d+",
|
||||
]
|
||||
|
||||
autosectionlabel_prefix_document = True
|
||||
|
|
|
|||
Loading…
Reference in a new issue