From 29f3c81dc34a30cba97672f8b2c7101857ea201e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jordan=20Aug=C3=A9?= Date: Mon, 26 Oct 2026 17:58:44 +0100 Subject: [PATCH] ci(docs): check links to sibling sites and ioc-project repos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Stop excluding ioc-project.github.io sibling sites (mas-lab, scope, cognition-protocols) - Stop excluding the now-public ioc-project repositories - Drop the stale outshift-open ioc-motivation.lab exclusion - Keep excluding only this site's own pages, which exist after deploy Signed-off-by: Jordan Augé --- lychee.toml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/lychee.toml b/lychee.toml index 8d789a0..e74f62a 100644 --- a/lychee.toml +++ b/lychee.toml @@ -18,21 +18,19 @@ exclude = [ 'example\.com', '\.well-known', - # The site is deployed after merge, so self-referencing URLs cannot be - # resolved from a PR build - 'https://ioc-project\.github\.io', + # This site is deployed after merge, so its own root cannot be resolved + # from a PR build. Sibling sites (/mas-lab/, /scope/, /cognition-protocols/) + # and the ioc-project repositories are public and are checked. + 'https://ioc-project\.github\.io/?$', + 'https://ioc-project\.github\.io/(how-to|overview|publications)(/|$)', # Private and internal repos that CI cannot access (the workflow token # gets a 404) 'https://github\.com/cisco-eti/', - 'https://github\.com/ioc-project/', # /explorer/ is served outside this MkDocs build 'file://.*/explorer/?$', - # Lab not published upstream yet; remove once it exists in outshift-open/mas-lab - 'https://github\.com/outshift-open/mas-lab/tree/main/labs/ioc-motivation\.lab', - # Templated URLs '\{[a-z_]+\}',