Trending

World technology news

→
Archive photograph of a web page open on a laptop.
crates.ioIn-depth report

Brrrty 0.1.38 releases static site software aimed at Eleventy projects

The Rust-based generator targets Eleventy compatibility. Migration tests can compare permanent URLs, template data and content order separately.

·crates.io
Reading progress0%

Same outputs, different generator

Brrrty 0.1.38 reached crates.io on November 29. The package describes a static site generator aimed at Eleventy-compatible projects. Docs.rs recorded a documentation build for that exact release. A documentation team evaluating a switch can start with a homepage, an article with an explicit permalink, a tag index and a default layout. Compare the generated files and their public URL mappings. The build can change internally while incoming links still reach the same content, provided the generated paths and deployment rules stay in agreement.

Compare permalinks as served URLs

A Markdown file and its public page need not have the same name. An Eleventy project might set an explicit permalink in front matter. Give two sample documents different source names and assign one an explicit route. Find the generated HTML and request the expected route from a local file server. Record both status and final URL if the server redirects. An apparently successful build can still omit a particular page, so compare the served outputs rather than relying on the compiler’s exit code.

Test template data precedence

A layout can take its heading from page front matter and use site data for language or author. Set the same field to different values at both levels and inspect the rendered heading, language attribute and translation link. Then remove an optional global field and note what is rendered. A short fixture reveals an unexpected default or literal placeholder without making reviewers compare hundreds of documents. The relevant acceptance condition is what appears in the rendered page.

Exercise collection ordering with equal dates

Use three tagged articles. Give two the same date and one an earlier date, then record the complete listing order from both generators. Compare each entry’s title and URL, and check for duplicates. Put timestamp inputs with offsets in a separate fixture so a change in date parsing is distinguishable from a change in how equal dates are ordered. Readers notice both if a documentation collection changes position across builds.

Attach a small output manifest

The registry and separate build record identify the Brrrty release. Add an output manifest derived from fixed project inputs. Separate meaningful links or text changes from whitespace changes. In particular, an asset available through a development server may be missing from a clean output directory. Check whether the stylesheet loads in the browser and whether its file exists under the deployment root. The manifest lets a rollback restore the version that generated the expected URLs.

Migrate a small section first

A copy of one article series, a clean output directory and a test origin make a practical trial. Follow the internal links between the generated pages. If a template feature fails, identify the pages that depend on it. For timing comparisons, record clean and warm builds separately, using identical source files.

Photo · Kristoferb at English Wikipedia / Wikimedia Commons ↗ · CC BY-SA 4.0

Sources and verification
Be the first reader ✎ Write a comment

Reader discussion

Discussion prompt

Which bottleneck would you expect as this solution scales?

No comments yet. Be the first to contribute.

Write a comment

Comments are real visitor contributions. Repeated, link-heavy or abusive submissions may be limited.