Skip to content

Commit c3b308e

Browse files
authored
Ignore all .so files in linkcheck (#178)
This changes the .so file regex patterns in linkcheck_ignore to encompass all .so paths, instead of specific .so paths. The Slang .so libraries have been renamed, so the current regex patterns do not ignore the bad links made from references to them in the docs. Sphinx misinterprets .so filenames as website URLs with the Somalian .so country TLD, which inevitably fail the link check, so those fake links need to be ignored.
1 parent cc8f343 commit c3b308e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/conf.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,7 @@ def setup(app):
178178
linkcheck_ignore = [
179179
r"https://github.com/your-name/.*",
180180
r"http://claude.ai/code",
181-
r"http://libllvm\.so.*",
182-
r"http://libLLVM\.so.*",
183-
r"http://slang\.so.*",
181+
r"http://[^\.]+\.so.*",
184182
r'https://www\.shadertoy\.com/.*',
185183
]
186184
linkcheck_report_timeouts_as_broken = True

0 commit comments

Comments
 (0)