Repository navigation
fix(pages): build docs/ with Jekyll 4 and render_with_liquid: false - #452
Merged
Merged
Conversation
GitHub Pages' classic branch build runs Jekyll 3.10 and passes every
page through Liquid, so docs that quote GitHub Actions expressions lost
them (${{ inputs.x }} rendered as $) and a stray double brace failed the
whole build. None of the docs use Liquid.
local-pages.yml builds docs/ with Jekyll 4 in the official ruby:4.0
container and deploys it with actions/deploy-pages. docs/_config.yml
turns Liquid off for page content (layouts still render) and keeps the
classic build's theme, GFM kramdown and the same plugins. A local build
of docs/ matched the classic one apart from the restored expressions and
newer highlighter markup.
Needs the Pages source switched to GitHub Actions.
cldmv-bot Bot
added a commit
that referenced
this pull request
Nov 8, 2026
# v4.36.0 — 2026-11-08 Minor release with a fleet Node `.gitignore` template and the fixes that get the GitHub Pages site building again. Every Pages build had failed since v4.35.0 because the README template docs quoted Liquid-style double-brace tokens. The template now uses single-brace tokens, and `docs/` builds with Jekyll 4 from a workflow in this repo, so pages that quote GitHub Actions expressions show them as written. ## Features - **Fleet Node `.gitignore` template.** [examples/gitignore/Node.gitignore](../../examples/gitignore/Node.gitignore) is one managed block, between `# >>> CLDMV fleet (Node) >>>` and `# <<< CLDMV fleet <<<`, that every Node repo copies to the top of its `.gitignore`. It holds GitHub's upstream Node.gitignore verbatim, the CLDMV conventions (`tmp/`, `trash/`, root `coverage/` and `logs`, `dist/`, `types/`, `/bin/`, the vitest-runner coverage scratch folders), editor and OS files including `.vscode/` and `.idea/`, OS duplicate names and backups, and the AI and agent tool files, anchored to the repo root so names like `/prompts/` never hide a source folder. Repo-specific lines go below the closing marker. [The README](../../examples/gitignore/README.md) covers listing tracked files the block now matches (`git ls-files -ci --exclude-standard`) and untracking or moving them. Resolves [#429](#429). ([#449](#449)) - **`bin/` holds only build output.** [package-layout.md](../conventions/package-layout.md) now says a CLI's source lives in `src/bin/<name>.mjs` and tsup builds it, into `bin/` for a bundled build or `dist/bin/` when `dist/` mirrors `src/`, with `"bin"` in `package.json` pointing at the built file. Nothing in `bin/` is hand-written or committed, and vendored binaries live outside it. ([#449](#449)) ## Bug Fixes - **Single-brace README template tokens.** [README.template.md](../../examples/readme/README.template.md) and [readme-format.md](../conventions/readme-format.md) wrote placeholders as double-brace tokens. That is Liquid syntax, and the classic Pages build ran every doc through Liquid, so the docs that quoted the tokens failed the build. All 115 tokens are now single-brace (`{repo}`, `{description}`, …), the docs show them as inline code, and the leftover-token check is `grep -nE '\{[a-z_0-9]+\}' README.md`. `.configs/.prettierrc` turns off embedded code formatting for `README.template.md` so Prettier leaves the tokens in its code samples alone. ([#451](#451)) - **Pages builds with Jekyll 4.** The classic "deploy from a branch" build is pinned to Jekyll 3.10, which runs Liquid even inside code spans, so a doc quoting `${{ … }}` rendered it blank. The new `local-pages.yml` workflow builds `docs/` with Jekyll 4.4 in the official `ruby:4.0` container and deploys it with `actions/deploy-pages`. `docs/_config.yml` sets `render_with_liquid: false` for every page and keeps the classic build's theme, Markdown and plugin settings, and `docs/Gemfile` pins the plugins the classic build loaded implicitly. The built site has the same files as the classic build. ([#452](#452)) ## Upgrade notes - No caller changes needed. Repos adopt the `.gitignore` block as they are swept (CLDMV/packrat#8); a repo with hand-written files in `bin/` should move them to `src/bin/` and build them. Consumers that copied the README template should switch their placeholders to single braces the next time they regenerate a README. - This repo's Pages source is now "GitHub Actions" (Settings → Pages), which `local-pages.yml` needs. <details> <summary>👥 Contributors</summary> - @Shinrai </details> <!-- co-authors --> Co-authored-by: Shinrai <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 What's Changed
💥 Breaking Changes
No breaking changes
✨ Features
No new features
🐛 Bug Fixes
📦 Dependencies
No dependency updates
🔧 Other Changes
No other changes
👥 Contributors