Skip to content

docs: simplify deployment docs and trim contributing duplication#213

Merged
cdtinney merged 4 commits into
mainfrom
cdtinney/simplify-docs
Apr 29, 2026
Merged

docs: simplify deployment docs and trim contributing duplication#213
cdtinney merged 4 commits into
mainfrom
cdtinney/simplify-docs

Conversation

@cdtinney
Copy link
Copy Markdown
Owner

@cdtinney cdtinney commented Apr 29, 2026

Summary

Trim docs duplication, link tools/services on first mention, and give every script a short "what + when" header.

  • docs/deployment.md 170 → 92 lines (dropped sections already covered in AGENTS.md, merged duplicate env-var notes)
  • CONTRIBUTING.md 104 → 52 lines (removed sections that restated the README + pre-pr.sh)
  • New scripts/migrate-staging.sh; new template note asking PR authors to keep descriptions short

Testing

  • Spot-checked all raw.githubusercontent.com/.../scripts/...sh URLs against scripts/
  • Confirmed no Markdown links live inside fenced code blocks (they wouldn't render)

Cut deployment.md from 170 to 91 lines: dropped observability sections
(already in AGENTS.md), merged duplicate env-var sections, trimmed
staging one-time setup. Cut CONTRIBUTING.md from 104 to 52 lines by
removing sections that restated pre-pr.sh / the README scripts table.
Extracted the inline staging first-start migration into
scripts/migrate-staging.sh.
Reader-friendliness pass: link Watchtower, Caddy, GHCR, DigitalOcean,
Cloudflare, Vitest, Prettier, ESLint, Passport.js, Winston,
AsyncLocalStorage, and the rest on first mention so newcomers can
follow up without searching.
Five scripts had no description: install-hooks.sh, migrate.sh,
migrate-staging.sh, pre-pr.sh, and the pre-commit hook itself. Each now
opens with a short comment explaining what it does and when to run it.
@cdtinney cdtinney force-pushed the cdtinney/simplify-docs branch from a4f6cf7 to c1ee1f2 Compare April 29, 2026 18:22
Add a brevity note to the PR template — no one reads 500+ character
descriptions, and most of the bulk is restating the diff.
@cdtinney cdtinney force-pushed the cdtinney/simplify-docs branch from c1ee1f2 to 0ebd475 Compare April 29, 2026 19:10
@cdtinney cdtinney marked this pull request as ready for review April 29, 2026 19:18
@cdtinney cdtinney merged commit 2432717 into main Apr 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant