Skip to content

Commit 4fa1e66

Browse files
committed
🔧 Make linkcheck ignore matrix.to URLs
These URLs don't spit out pre-rendered content and can't be checked.
1 parent 676edc4 commit 4fa1e66

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@
118118
r'/python/cpython/blob/c39b52f/Lib/poplib\.py#L297-L302',
119119
r'https://github\.com'
120120
r'/python/cpython/blob/c39b52f/Lib/poplib\.py#user-content-L297-L302',
121+
122+
r'^https://matrix\.to/#', # these render fully on front-end from anchors
121123
]
122124
linkcheck_workers = 25
123125

0 commit comments

Comments
 (0)