Expand the EmDash CMS guide from stub to full guide - #14428
Open
danielmlr wants to merge 1 commit into
Open
Conversation
Contributor
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
danielmlr
force-pushed
the
add/emdash-cms-guide
branch
from
August 19, 2026 13:47
3d8e7fe to
6c3a98a
Compare
|
Preview deployment ✅ Deployment complete!
|
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.
Description (required)
This replaces the EmDash stub page with a full CMS guide. It follows the structure of the Keystatic guide, the other CMS that runs inside the Astro project.
The guide covers adding EmDash to an existing Astro project: installing the packages, registering the integrations, adding the live collections loader, completing the setup wizard, creating a post, and rendering content with
getEmDashCollection()andgetEmDashEntry(). It closes with a short deployment section and the existing official resources.Every step and code block was run against a fresh Astro project (Astro 7.2.3, emdash 0.34.0, Node 26): install, setup wizard, post creation, and both rendering examples, including the not-found redirect.
Two details in the guide come from that verification rather than from the EmDash docs:
better-sqlite3andesbuildby default, withpnpm approve-buildsas the fix. Without the approval, the SQLite driver fails at runtime.The single-entry example checks only
if (!post)and redirects, without a separateerrorbranch. In the current EmDash release,getEmDashEntry()setserrorfor an unknown slug as well, so the error-then-404 pattern from the EmDash docs turns every unknown URL into a 500.References