Migrate build system from mdbook to Eleventy - #306
Merged
Conversation
Replaces the Rust-based mdbook toolchain with a Node.js-only build using Eleventy 3.x, markdown-it, and linkinator. All 49 markdown source files and SUMMARY.md are unchanged; navigation is parsed from SUMMARY.md at build time. - Add eleventy.config.js with markdown-it config, internal .md link rewriting, Nunjucks filters, and passthrough copies for fonts/CSS/JS assets - Add _data/nav.js: SUMMARY.md parser producing tree + flat nav structures - Add _includes/base.njk, page.njk, sidebar.njk with active/ancestor state - Add theme stubs (ayu-highlight.css, tomorrow-night.css) and self-hosted clipboard.min.js required by book.js - Trim book.js: remove Rust playground IIFE, keep hljs and clipboard logic - Rename localStorage keys from mdbook-* to dsnp-* - Update CI workflows to use npm ci + eleventy + linkinator; remove mdbook composite action and book.toml - Pin all package.json devDependencies to exact versions; bump engines to >=20 - Remove unused package.json fields and tsconfig.json - Combine build and linkcheck in the verify workflow as the latter now relies on the HTML - Update package versions and audit vulnerabilities - Update spellchecker dictionary as needed - Add pagefind search and page title extraction
wesbiggs
force-pushed
the
feat/eleventy-migration
branch
from
July 11, 2026 02:33
0ed24d7 to
08c7385
Compare
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.
Problem
mdbook build architecture is getting crusty and requires some heavy tooling.
Solution
replace mdbook with 11ty; rework templates to fit
Details
Replaces the Rust-based mdbook toolchain with a Node.js-only build using Eleventy 3.x, markdown-it, and linkinator. All 49 markdown source files and SUMMARY.md are unchanged; navigation is parsed from SUMMARY.md at build time.
Testing
Build and browse. There should be no noticeable changes to the site vs. the published version at spec.dsnp.org.