Repository navigation
docs: remove stale screenshots and streamline contributor guidance - #3030
Conversation
|
There was a problem hiding this comment.
This PR takes the right approach: it removes stale screenshots that were drifting out of date and redirects contributors to the canonical CONTRIBUTING.md / AGENTS.md sources instead of duplicating policy in the docs site. The rewritten architecture page correctly reflects the current source layout after I checked packages/core/src/astro/integration/routes.ts, virtual-modules.ts, index.ts, emdash-runtime.ts, plugins/manager.ts, loader.ts, and query.ts.
However, the rewrite deleted two architecture sections that other docs still link to, so the PR introduces broken internal anchors. I also found one under-specified guidance in the new Screenshots section.
What I checked:
- Confirmed all five deleted screenshot files and their imports/references are gone from the repository.
- Verified the architecture rewrite's technical claims against the implementation (route injection, virtual module identifiers, middleware order,
EmDashRuntimeresponsibilities, loader/query flow). - Cross-checked
CONTRIBUTING.mdandpackages/admin/src/locales/locales.tsagainst the updated contributor and translation pages. - Searched for internal links to the removed architecture anchors.
Findings
-
[needs fixing]
docs/src/content/docs/concepts/admin-panel.mdx:8The link
[Architecture (internals)](/contributing/architecture/#admin-panel-internals)points to an anchor that was removed in this PR. The newdocs/src/content/docs/contributing/architecture.mdxhas no#admin-panel-internalssection; the closest surviving coverage is#admin-and-api-writes, which describes the React admin and API route structure. Update the link so readers land on a section that exists.For how it is built, see [Architecture (internals)](/contributing/architecture/#admin-and-api-writes). -
[needs fixing]
docs/src/content/docs/migration/content-import.mdx:322The link
[Architecture (internals)](/contributing/architecture/#extending-the-content-importer)targets an anchor removed by this rewrite. That section was the only place documenting the customImportSourceinterface and theimport: { sources: [...] }integration option. I cannot find either in the current code:EmDashConfiginpackages/core/src/astro/integration/runtime.tshas noimportfield, andImportSource/fetchContentdo not appear inpackages/core/src. Because the target is gone and the feature does not match the current config surface, this link cannot just be retargeted. Decide whether custom import sources are still supported and either (a) restore a minimal import-architecture section, (b) link to the generic architecture page only, or (c) remove the Custom sources section from this page.The interface (`probe`, `analyze`, `fetchContent`) and the normalized output shape are documented in [Architecture (internals)](/contributing/architecture/). -
[suggestion]
docs/src/content/docs/contributing/docs-style-guide.mdx:80The new Screenshots section tells contributors to "Record the fixture, route, viewport, locale, and theme" but does not say where that metadata should live (alt text, file name, HTML comment, separate manifest). Without a canonical location the guidance is hard to follow. Consider specifying the location, for example by splitting it into a second sentence:
Provide alt text that describes the relevant screen and state, and record the fixture, route, viewport, locale, and theme in an HTML comment next to the image so another contributor can reproduce the capture.
@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: |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
docs | ea6e196 | Sep 10 2026, 05:39 PM |
What does this PR do?
Removes five obsolete admin screenshots and their imports while keeping each affected guide complete in text. It also makes
CONTRIBUTING.mdthe canonical detailed contributor workflow, updates the contributor architecture explanations and examples to match current route, schema, request, media, and importer behavior, aligns locale enablement guidance with the sufficient-coverage policy, and adds a concise reproducible-screenshot standard.No related issue.
Type of change
Checklist
pnpm typecheckpassespnpm lintpassespnpm testpasses (or targeted tests for my change) — not run; this documentation-only change was validated with the documentation buildpnpm formathas been run — scoped Prettier verification passes without changesmessages.pochanges except in translation PRs — a workflow extracts catalogs on merge tomain. Not applicable; the admin UI is unchanged.AI-generated code disclosure
Screenshots / test output
Screenshots are not applicable. This documentation-only PR removes obsolete illustrative images and does not change the product UI.
Verified locally:
pnpm --dir docs buildpnpm lintpnpm typecheckpnpm --silent lint:json | jq '.diagnostics | length'(0)pnpm exec prettier --checkfor all changed MDX pagesgit diff --check