Skip to content

docs: remove stale screenshots and streamline contributor guidance - #3030

Merged
ascorbic merged 3 commits into
mainfrom
codex/docs-audit-pr-2
Sep 10, 2026
Merged

ascorbic merged 3 commits into
mainfrom
codex/docs-audit-pr-2

Conversation

@ascorbic

@ascorbic ascorbic commented Sep 10, 2026 •

Copy link
Copy Markdown
Member

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.md the 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

  • Bug fix
  • Feature (requires maintainer-approved Discussion)
  • Refactor (no behavior change)
  • Translation
  • Documentation
  • Performance improvement
  • Tests
  • Chore (dependencies, CI, tooling)

Checklist

  • I have read CONTRIBUTING.md
  • pnpm typecheck passes
  • pnpm lint passes
  • pnpm test passes (or targeted tests for my change) — not run; this documentation-only change was validated with the documentation build
  • pnpm format has been run — scoped Prettier verification passes without changes
  • I have added/updated tests for my changes (if applicable) — not applicable to prose and asset removal
  • User-visible strings in the admin UI are wrapped for translation (if applicable). Do not include messages.po changes except in translation PRs — a workflow extracts catalogs on merge to main. Not applicable; the admin UI is unchanged.
  • I have added and reviewed the user-facing changeset (if this PR changes a published package) — not applicable; no published package changes
  • New features link to an approved Discussion: https://github.com/emdash-cms/emdash/discussions/... — not applicable; this is not a feature
  • I have included screenshots below if this PR changes the UI — not applicable; the product UI is unchanged

AI-generated code disclosure

  • This PR includes AI-generated code — model/tool: OpenAI Codex (GPT-5)

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 build
  • pnpm lint
  • pnpm typecheck
  • pnpm --silent lint:json | jq '.diagnostics | length' (0)
  • pnpm exec prettier --check for all changed MDX pages
  • git diff --check
  • No removed screenshot filename, import binding, or render reference remains in the repository

@changeset-bot

changeset-bot Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ea6e196

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions Bot added the review/needs-review No maintainer or bot review yet label Sep 10, 2026

@emdashbot emdashbot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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, EmDashRuntime responsibilities, loader/query flow).
  • Cross-checked CONTRIBUTING.md and packages/admin/src/locales/locales.ts against 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:8

    The link [Architecture (internals)](/contributing/architecture/#admin-panel-internals) points to an anchor that was removed in this PR. The new docs/src/content/docs/contributing/architecture.mdx has no #admin-panel-internals section; 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:322

    The link [Architecture (internals)](/contributing/architecture/#extending-the-content-importer) targets an anchor removed by this rewrite. That section was the only place documenting the custom ImportSource interface and the import: { sources: [...] } integration option. I cannot find either in the current code: EmDashConfig in packages/core/src/astro/integration/runtime.ts has no import field, and ImportSource / fetchContent do not appear in packages/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:80

    The 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.
    

@github-actions github-actions Bot added the review/needs-rereview New commits since the last review label Sep 10, 2026
@pkg-pr-new

pkg-pr-new Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@emdash-cms/admin

npm i https://pkg.pr.new/@emdash-cms/admin@3030

@emdash-cms/auth

npm i https://pkg.pr.new/@emdash-cms/auth@3030

@emdash-cms/auth-atproto

npm i https://pkg.pr.new/@emdash-cms/auth-atproto@3030

@emdash-cms/blocks

npm i https://pkg.pr.new/@emdash-cms/blocks@3030

@emdash-cms/cloudflare

npm i https://pkg.pr.new/@emdash-cms/cloudflare@3030

@emdash-cms/contentful-to-portable-text

npm i https://pkg.pr.new/@emdash-cms/contentful-to-portable-text@3030

emdash

npm i https://pkg.pr.new/emdash@3030

create-emdash

npm i https://pkg.pr.new/create-emdash@3030

@emdash-cms/gutenberg-to-portable-text

npm i https://pkg.pr.new/@emdash-cms/gutenberg-to-portable-text@3030

@emdash-cms/plugin-cli

npm i https://pkg.pr.new/@emdash-cms/plugin-cli@3030

@emdash-cms/plugin-types

npm i https://pkg.pr.new/@emdash-cms/plugin-types@3030

@emdash-cms/registry-client

npm i https://pkg.pr.new/@emdash-cms/registry-client@3030

@emdash-cms/registry-lexicons

npm i https://pkg.pr.new/@emdash-cms/registry-lexicons@3030

@emdash-cms/registry-moderation

npm i https://pkg.pr.new/@emdash-cms/registry-moderation@3030

@emdash-cms/registry-verification

npm i https://pkg.pr.new/@emdash-cms/registry-verification@3030

@emdash-cms/sandbox-workerd

npm i https://pkg.pr.new/@emdash-cms/sandbox-workerd@3030

@emdash-cms/x402

npm i https://pkg.pr.new/@emdash-cms/x402@3030

@emdash-cms/plugin-ai-moderation

npm i https://pkg.pr.new/@emdash-cms/plugin-ai-moderation@3030

@emdash-cms/plugin-atproto

npm i https://pkg.pr.new/@emdash-cms/plugin-atproto@3030

@emdash-cms/plugin-audit-log

npm i https://pkg.pr.new/@emdash-cms/plugin-audit-log@3030

@emdash-cms/plugin-color

npm i https://pkg.pr.new/@emdash-cms/plugin-color@3030

@emdash-cms/plugin-embeds

npm i https://pkg.pr.new/@emdash-cms/plugin-embeds@3030

@emdash-cms/plugin-field-kit

npm i https://pkg.pr.new/@emdash-cms/plugin-field-kit@3030

@emdash-cms/plugin-forms

npm i https://pkg.pr.new/@emdash-cms/plugin-forms@3030

@emdash-cms/plugin-webhook-notifier

npm i https://pkg.pr.new/@emdash-cms/plugin-webhook-notifier@3030

commit: ea6e196

@github-actions github-actions Bot added area/docs size/L and removed review/needs-review No maintainer or bot review yet labels Sep 10, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
docs ea6e196 Sep 10 2026, 05:39 PM

@ascorbic ascorbic mentioned this pull request Sep 10, 2026
4 of 19 tasks
@ascorbic
ascorbic enabled auto-merge (squash) September 10, 2026 18:40
@ascorbic
ascorbic disabled auto-merge September 10, 2026 19:44
@ascorbic
ascorbic merged commit 4f3d6ad into main Sep 10, 2026
53 checks passed
@ascorbic
ascorbic deleted the codex/docs-audit-pr-2 branch September 10, 2026 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs review/needs-rereview New commits since the last review size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant