From 5266c93c81ae745466c7cbacc525a51bd0fe9188 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Jun 2026 03:49:30 +0000 Subject: [PATCH 1/4] Bump external-content/cookie from `4d7762b` to `228add5` Bumps [external-content/cookie](https://github.com/scientific-python/cookie) from `4d7762b` to `228add5`. - [Release notes](https://github.com/scientific-python/cookie/releases) - [Commits](https://github.com/scientific-python/cookie/compare/4d7762bf66f47430a218d824021bca35c1513279...228add5438e25e3357d0c3f9afc088ce48df25f4) --- updated-dependencies: - dependency-name: external-content/cookie dependency-version: 228add5438e25e3357d0c3f9afc088ce48df25f4 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- external-content/cookie | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external-content/cookie b/external-content/cookie index 4d7762b..228add5 160000 --- a/external-content/cookie +++ b/external-content/cookie @@ -1 +1 @@ -Subproject commit 4d7762bf66f47430a218d824021bca35c1513279 +Subproject commit 228add5438e25e3357d0c3f9afc088ce48df25f4 From f224b6b0d40334b56e980d29e78e9bc32227a031 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 8 Jun 2026 23:57:00 -0400 Subject: [PATCH 2/4] ci: build cookie submodule with mystmd instead of jekyll Cookie moved its docs from Jekyll to MyST in scientific-python/cookie#792. Build the development site with `myst build --html` (BASE_URL=/development) and drop the obsolete ruby/jekyll and repo-review-app fetch steps. Assisted-by: ClaudeCode:claude-opus-4.8 --- .ruby-version | 1 - Makefile | 18 ++++++------------ netlify.toml | 1 + 3 files changed, 7 insertions(+), 13 deletions(-) delete mode 120000 .ruby-version diff --git a/.ruby-version b/.ruby-version deleted file mode 120000 index 6502bef..0000000 --- a/.ruby-version +++ /dev/null @@ -1 +0,0 @@ -external-content/cookie/.ruby-version \ No newline at end of file diff --git a/Makefile b/Makefile index 1bfc407..0e3494a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: help prepare cookie cookie_ruby_deps cookie_web_prepare external html serve clean +.PHONY: help prepare cookie external html serve clean .DEFAULT_GOAL := help # Add help text after each target name starting with '\#\#' @@ -10,17 +10,11 @@ help: ## show this help prepare: git submodule update --init -cookie_ruby_deps: - (cd external-content/cookie && \ - bundle install) - -cookie_web_prepare: - (cd external-content/cookie && \ - ./helpers/fetch_repo_review_app.sh) - -cookie: cookie_ruby_deps cookie_web_prepare - (cd external-content/cookie && \ - JEKYLL_ENV=production bundle exec jekyll build --destination ../../public/development --baseurl "/development/") +cookie: + (cd external-content/cookie/docs && \ + BASE_URL=/development npx --yes mystmd build --html) + mkdir -p public/development + cp -r external-content/cookie/docs/_build/html/. public/development/ external: cookie diff --git a/netlify.toml b/netlify.toml index 2eda9d5..3dd4348 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,5 +1,6 @@ [build.environment] PYTHON_VERSION = "3.13" + NODE_VERSION = "24" HUGO_VERSION = "0.141.0" DART_SASS_VERSION = "1.83.4" DART_SASS_URL = "https://github.com/sass/dart-sass/releases/download/" From d3ebd348f959608f7317830a80e99d9eb471586d Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 9 Jun 2026 00:48:46 -0400 Subject: [PATCH 3/4] fix: deploy cookie under /development/ subpath correctly Use a trailing slash on BASE_URL so MyST joins it to root-relative page links correctly (was producing /developmentpages/...), and bump the cookie submodule to include the hyphenated-slug internal link fix (scientific-python/cookie#796) so checklinks passes. Assisted-by: ClaudeCode:claude-opus-4.8 --- Makefile | 2 +- external-content/cookie | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0e3494a..4f9a5cd 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ prepare: cookie: (cd external-content/cookie/docs && \ - BASE_URL=/development npx --yes mystmd build --html) + BASE_URL=/development/ npx --yes mystmd build --html) mkdir -p public/development cp -r external-content/cookie/docs/_build/html/. public/development/ diff --git a/external-content/cookie b/external-content/cookie index 228add5..bbb319a 160000 --- a/external-content/cookie +++ b/external-content/cookie @@ -1 +1 @@ -Subproject commit 228add5438e25e3357d0c3f9afc088ce48df25f4 +Subproject commit bbb319ab2eb9f68719a34028e1552a2690685948 From cff27e09b11ba37b5d5bd94428597b207371cab3 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 9 Jun 2026 01:19:33 -0400 Subject: [PATCH 4/4] ci: tolerate hyperlink false positives in MyST /development/ site netlify-plugin-checklinks (hyperlink) now traverses the full cookie site and flags two non-issues: its parser fails on MyST's bundled mermaid chunk, and it reports valid in-page fragments as broken when the target goes through MyST pretty-URL normalization. Mark both as todoPatterns so real broken links still fail the build. Assisted-by: ClaudeCode:claude-opus-4.8 --- netlify.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/netlify.toml b/netlify.toml index 3dd4348..ec0951c 100644 --- a/netlify.toml +++ b/netlify.toml @@ -22,3 +22,9 @@ [plugins.inputs] skipPatterns = ['https://fonts.gstatic.com', 'https://fonts.googleapis.com', "https://unpkg.com"] + # Tolerate two unavoidable artifacts of link-checking the MyST-built + # `/development/` site: hyperlink's parser chokes on MyST's bundled + # mermaid chunk (`static {}` class blocks), and it reports valid + # in-page fragments as failures when the target passes through MyST's + # pretty-URL normalization (e.g. /pages/guides/pytest -> .../index.html). + todoPatterns = ['fragment-redirect', 'mermaid.core']