From 73098e0a249e7f955e9f5367f2cbdb5085f3d9d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Delaporte-Mathurin?= <40028739+RemDelaporteMathurin@users.noreply.github.com> Date: Fri, 13 Feb 2026 12:33:51 -0500 Subject: [PATCH 1/2] Add URL checker to doctest workflow --- .github/workflows/doctest.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index 9584b560f..611d67c0f 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -19,3 +19,29 @@ jobs: - name: Doc Tests shell: bash -l {0} run: sphinx-build -b doctest docs/source docs/_build/doctest + - name: urls-checker + uses: urlstechie/urlchecker-action@master + with: + # A subfolder or path to navigate to in the present or cloned repository + subfolder: docs + + # A comma-separated list of file types to cover in the URL checks + file_types: .md,.py,.rst + + # Choose whether to include file with no URLs in the prints. + print_all: false + + # The timeout seconds to provide to requests, defaults to 5 seconds + timeout: 5 + + # How many times to retry a failed request (each is logged, defaults to 1) + retry_count: 3 + + # A comma separated links to exclude during URL checks + exclude_urls: + + # A comma separated patterns to exclude during URL checks + exclude_patterns: + + # choose if the force pass or not + force_pass : false From a568c5293d395d4d6bd61bd66cf332ee0e383ff5 Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Fri, 13 Feb 2026 14:28:43 -0500 Subject: [PATCH 2/2] ignore LSPM url in check --- .github/workflows/doctest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index 611d67c0f..14b5a44a9 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -38,7 +38,7 @@ jobs: retry_count: 3 # A comma separated links to exclude during URL checks - exclude_urls: + exclude_urls: https://www.lspm.cnrs.fr/en/home/ # A comma separated patterns to exclude during URL checks exclude_patterns: