From adf5366c0cb542199a61246f560d39e24e2e6a17 Mon Sep 17 00:00:00 2001 From: Sasha Meister Date: Wed, 2 Jul 2025 07:23:11 -0700 Subject: [PATCH 1/2] docs: ignore broken external links in linkcheck and add build/ to .gitignore Signed-off-by: Sasha Meister --- .gitignore | 1 + docs/src/conf.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 559fd1bd..4e78eb58 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,7 @@ test-venv # byte-compiled / optimized / DLL files __pycache__ +build # egg-info sdp.egg-info \ No newline at end of file diff --git a/docs/src/conf.py b/docs/src/conf.py index 9a5fb330..4e24993d 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -189,3 +189,8 @@ def setup(app): ] # nitpick_ignore_regex = [('py:class', '*')] +# Ignore specific broken links during linkcheck +linkcheck_ignore = [ + r'https://ieeexplore\.ieee\.org/document/1326009', + r'http://lingtools\.uoregon\.edu/coraal/coraal_download_list\.txt', +] \ No newline at end of file From 31a1aee89db69f61e8c7b2d0835a4f832457bd05 Mon Sep 17 00:00:00 2001 From: Sasha Meister Date: Wed, 2 Jul 2025 07:55:48 -0700 Subject: [PATCH 2/2] Add linkcheck limits Signed-off-by: Sasha Meister --- docs/src/conf.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/src/conf.py b/docs/src/conf.py index 4e24993d..b319da65 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -28,7 +28,6 @@ templates_path = ["_templates"] - autodoc_mock_imports = [ # TTS pipeline "pyannote.audio", @@ -193,4 +192,9 @@ def setup(app): linkcheck_ignore = [ r'https://ieeexplore\.ieee\.org/document/1326009', r'http://lingtools\.uoregon\.edu/coraal/coraal_download_list\.txt', -] \ No newline at end of file + r'https://aclanthology.org/2020.lrec-1.804/', +] + +linkcheck_timeout = 10 +linkcheck_retries = 5 +linkcheck_workers = 2 \ No newline at end of file