Skip to content

Commit f224b6b

Browse files
committed
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
1 parent 5266c93 commit f224b6b

3 files changed

Lines changed: 7 additions & 13 deletions

File tree

.ruby-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

Makefile

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: help prepare cookie cookie_ruby_deps cookie_web_prepare external html serve clean
1+
.PHONY: help prepare cookie external html serve clean
22
.DEFAULT_GOAL := help
33

44
# Add help text after each target name starting with '\#\#'
@@ -10,17 +10,11 @@ help: ## show this help
1010
prepare:
1111
git submodule update --init
1212

13-
cookie_ruby_deps:
14-
(cd external-content/cookie && \
15-
bundle install)
16-
17-
cookie_web_prepare:
18-
(cd external-content/cookie && \
19-
./helpers/fetch_repo_review_app.sh)
20-
21-
cookie: cookie_ruby_deps cookie_web_prepare
22-
(cd external-content/cookie && \
23-
JEKYLL_ENV=production bundle exec jekyll build --destination ../../public/development --baseurl "/development/")
13+
cookie:
14+
(cd external-content/cookie/docs && \
15+
BASE_URL=/development npx --yes mystmd build --html)
16+
mkdir -p public/development
17+
cp -r external-content/cookie/docs/_build/html/. public/development/
2418

2519
external: cookie
2620

netlify.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[build.environment]
22
PYTHON_VERSION = "3.13"
3+
NODE_VERSION = "24"
34
HUGO_VERSION = "0.141.0"
45
DART_SASS_VERSION = "1.83.4"
56
DART_SASS_URL = "https://github.com/sass/dart-sass/releases/download/"

0 commit comments

Comments
 (0)