Skip to content

docs: fix Jekyll Liquid build error in plan-execute.md#276

Open
v1r3n wants to merge 1 commit into
mainfrom
fix/docs-liquid-plan-execute
Open

docs: fix Jekyll Liquid build error in plan-execute.md#276
v1r3n wants to merge 1 commit into
mainfrom
fix/docs-liquid-plan-execute

Conversation

@v1r3n

@v1r3n v1r3n commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

Summary

The pages-build-deployment (GitHub Pages / Jekyll) workflow is failing on main:

Error: Liquid syntax error (line 355): Variable '{{"path": "out/{i}' was not properly terminated

The parallel-work code sample in docs/concepts/plan-execute.md contains a Python f-string f'{{"path": "out/{i}.md", ...}}'. Jekyll runs Liquid over fenced code blocks too, so the {{ is parsed as an (unterminated) Liquid variable and the whole site build aborts.

Fix

Wrap that code block in {% raw %} / {% endraw %} so Jekyll emits it verbatim. Two-line change.

Scope check

This is the only Liquid-breaking {{/{% token in the rendered docs set (top-level *.md + concepts/ + examples/ — the dirs Jekyll actually renders, per the build log). The {{...}} tokens in docs/sdk-design/ and docs/design/plans/ are harmless: those files have no YAML front matter, so Jekyll copies them without Liquid processing. The mermaid {{"text"}} diagrams render fine (valid Liquid string output).

The pages-build-deployment workflow was failing with a Liquid syntax
error: the f-string code sample f'{{"path": "out/{i}.md", ...}}' in
the parallel-work example was parsed as an (unterminated) Liquid
variable. Wrap the code block in raw/endraw so Jekyll emits it verbatim.

This is the only Liquid-breaking token in the rendered docs set
(top-level + concepts/ + examples/); design/sdk-design docs have no
front matter and are copied without Liquid processing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant