Repository navigation
docs: rebuild the EmDash front door - #3045
Conversation
|
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
docs | 6dd51dd | Sep 11 2026, 07:00 AM |
There was a problem hiding this comment.
This PR rebuilds EmDash's documentation front door around clear reader goals: landing, evaluation, tutorials, and concepts. I reviewed it as a documentation-only change and spot-checked the technical claims against the implementation.
What I checked:
- Node.js (
>=22.16) and Astro (>=6.0.0-beta.0) version requirements againstpackage.jsonengines/peerDependencies. npm create emdash@latest ... --template node:starter --pm npm --yesagainstpackages/create-emdash/src/flags.tsandpackages/create-emdash/src/index.ts.npx emdash secrets generate --write .envagainstpackages/core/src/cli/commands/secrets.ts.- Admin route (
/_emdash/admin/) and setup-wizard redirect againstpackages/core/src/astro/middleware/setup.tsandpackages/core/src/astro/routes/admin.astro. - Local storage adapter shape and
baseUrlagainstpackages/core/src/storage/local.ts. getEmDashCollection/getEmDashEntryreturn shapes andcacheHintusage againstpackages/core/src/query.tsandpackages/core/src/loader.ts.- Field type list, indexable types, and reserved slugs against
packages/core/src/schema/types.ts. - Schema change boundaries (in-place type changes among
string/text/slug; migration required forrequired,unique, or translatable changes) againstpackages/core/src/schema/registry.ts. - The default seed applied when no user seed exists against
packages/core/src/seed/default.ts. - Role/permission descriptions against
packages/auth/src/rbac.ts. - The
node:startertemplate content and seed againsttemplates/starter/seed/seed.jsonandtemplates/starter/src/pages/index.astro. - All internal doc links resolve to existing pages in
docs/src/content/docs/. - Redirect
/introduction->/why-emdashand sidebar config indocs/astro.config.mjs.
Headline conclusion: The approach is sound, the prose is technically accurate, and the new evaluation/tutorial/concept pages match the actual CLI, schema registry, and runtime behavior. I found no false claims, broken commands, inconsistent terminology, or missing prerequisites. The documentation is clean.
Scope checkThis PR changes 1,786 lines across 10 files. Large PRs are harder to review and more likely to be closed without review. If this scope is intentional, no action needed. A maintainer will review it. If not, please consider splitting this into smaller PRs. See CONTRIBUTING.md for contribution guidelines. |
| ```text | ||
| ┌────────────────────────── Astro application ──────────────────────────┐ | ||
| │ │ | ||
| │ Admin panel Pages and components │ | ||
| │ /_emdash/admin/ written by the site developer │ | ||
| │ │ │ │ | ||
| │ │ saves entries │ queries entries │ | ||
| │ ▼ ▼ │ | ||
| │ ┌────────────────────── EmDash runtime ───────────────────────────┐ │ | ||
| │ │ Content model, publishing, queries, media, plugins, and API │ │ | ||
| │ └───────────────────────┬──────────────────────┬──────────────────┘ │ | ||
| │ │ │ │ | ||
| │ SQL database Media storage │ | ||
| └──────────────────────────────────────────────────────────────────────┘ | ||
| ``` |
There was a problem hiding this comment.
Don't use ASCII art for diagrams
@emdash-cms/admin
@emdash-cms/auth
@emdash-cms/auth-atproto
@emdash-cms/blocks
@emdash-cms/cloudflare
@emdash-cms/contentful-to-portable-text
emdash
create-emdash
@emdash-cms/gutenberg-to-portable-text
@emdash-cms/plugin-cli
@emdash-cms/plugin-types
@emdash-cms/registry-client
@emdash-cms/registry-lexicons
@emdash-cms/registry-moderation
@emdash-cms/registry-verification
@emdash-cms/sandbox-workerd
@emdash-cms/x402
@emdash-cms/plugin-ai-moderation
@emdash-cms/plugin-atproto
@emdash-cms/plugin-audit-log
@emdash-cms/plugin-color
@emdash-cms/plugin-embeds
@emdash-cms/plugin-field-kit
@emdash-cms/plugin-forms
@emdash-cms/plugin-webhook-notifier
commit: |
| ```bash | ||
| npm install emdash @astrojs/node @astrojs/react react react-dom | ||
| ``` | ||
|
|
There was a problem hiding this comment.
Don't remove the package manager tabs here, because it depends on their site.
| - The team wants the CMS and website in one application and deployment. | ||
| - The team can operate a database and media storage with the site. |
There was a problem hiding this comment.
Rather than "the team" say "developers" or something like that
Resolves the conflict in concepts/collections.mdx by taking main's page: emdash-cms#3045 rewrote it and removed the FieldValidation section our editor paragraph sat under. The per-type editor behaviour stays documented in reference/field-types.mdx. Also picks up emdash-cms#2934, which fixed the publication-date label assertion that failed E2E shard 2/8 on the previous head.
What does this PR do?
Rebuilds the documentation front door around distinct reader goals:
Depends on #3030. This PR is temporarily based on #3030 so its review diff contains only these documentation changes; it can be retargeted to
mainafter #3030 merges.Type of change
Checklist
pnpm typecheckpasses — not run repository-wide; the docs build and focusedcreate-emdashtypecheck passpnpm lintpasses — the repository's pre-existing type-aware baseline remains 125 diagnostics;pnpm lint:quickpassespnpm testpasses (or targeted tests for my change) — all 106create-emdashtests passpnpm formathas been run — the scoped docs files are excluded by the formatter;git diff --checkpassesmessages.pochanges except in translation PRs — a workflow extracts catalogs on merge tomain. — not applicable; no admin UI or catalog changesAI-generated code disclosure
Screenshots / test output
Screenshots are not applicable because this PR changes documentation content and navigation, not the product interface.
Validation completed:
pnpm lint:quickpnpm --dir docs buildgit diff --checkpnpm --filter create-emdash test(106 tests)pnpm --filter create-emdash typechecknode:starterscaffold, dependency install, build, default-seed setup, and homepage render