From 688293c1e4f7f3e31c9ad2014bfe88cd70e05115 Mon Sep 17 00:00:00 2001 From: Bane Sullivan <22067021+banesullivan@users.noreply.github.com> Date: Sun, 24 May 2026 22:28:58 -0700 Subject: [PATCH] Fix posts URL failures --- .github/workflows/build-site.yml | 1 + _config.yml | 1 - lychee.toml | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-site.yml b/.github/workflows/build-site.yml index dc551a94..71a1b522 100644 --- a/.github/workflows/build-site.yml +++ b/.github/workflows/build-site.yml @@ -56,4 +56,5 @@ jobs: directory: "_site" arguments: | --ignore-files "/.+\/_posts\/README.md" + --ignore-urls "/^https?:\/\/(www\.)?pyopensci\.org\//" --checks "Images,Scripts" diff --git a/_config.yml b/_config.yml index cd665920..96075b61 100644 --- a/_config.yml +++ b/_config.yml @@ -165,7 +165,6 @@ footer: include: - .htaccess - _pages - - _posts exclude: - "*.sublime-project" - "*.sublime-workspace" diff --git a/lychee.toml b/lychee.toml index bf876392..9a5fd5d9 100644 --- a/lychee.toml +++ b/lychee.toml @@ -60,4 +60,7 @@ include_verbatim = false # Regex excludes. Plain-domain skips belong in .lycheeignore. exclude = [ 'zenodo\.org', + # Self-references to the deployed site lag the build, producing false + # 404s for new pages. Internal links are validated via relative paths. + '^https?://(www\.)?pyopensci\.org/', ]