Skip to content

Start redoing docs#238

Merged
fasterthanlime merged 5 commits intomainfrom
redocs
Feb 9, 2026
Merged

Start redoing docs#238
fasterthanlime merged 5 commits intomainfrom
redocs

Conversation

@fasterthanlime
Copy link
Contributor

@fasterthanlime fasterthanlime commented Feb 9, 2026

So they're focused on user/usability.

17 new content pages covering templates, assets, deployment,
architecture, and reference. Updated hero to "query-infused
static site generator" tagline. Tightened installation page.
Adds a new template tag that captures raw content between opening and
closing tags and passes it to a registered function as the "body" kwarg.
This enables syntax highlighting directly in templates via
{% call highlight(lang="rust") %}...{% endcall %}.

Gingembre changes:
- Lexer: Call/Endcall token variants
- AST: CallBlockNode with raw content capture
- Parser: parse_call() scans source for {% endcall %}, skips lexer past it
- Renderer: evaluates kwargs, calls registered function, outputs result as safe HTML

Markdown cell:
- New highlight_code RPC method using ArboriumHandler
- HighlightResult enum in proto

Wiring:
- cell-gingembre registers "highlight" function
- template_host handles "highlight" by calling markdown cell
- cells.rs: highlight_code_cell helper

Landing page:
- Use editor screenshot for "Familiar" feature
- Use {% call highlight %} for production-grade and syntax highlighting features
- Merge "Incremental" and "Live reload" into single section
- Add .feature-image and .feature-visual .code-block CSS
@fasterthanlime fasterthanlime merged commit c546230 into main Feb 9, 2026
@fasterthanlime fasterthanlime deleted the redocs branch February 9, 2026 21:56
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