Skip to content

docs: full documentation restructure and rewrite#173

Merged
merencia merged 11 commits into
masterfrom
docs/rewrite
May 3, 2026
Merged

docs: full documentation restructure and rewrite#173
merencia merged 11 commits into
masterfrom
docs/rewrite

Conversation

@merencia
Copy link
Copy Markdown
Contributor

@merencia merencia commented May 3, 2026

Summary

  • CLAUDE.md added with accurate architecture, dev loop, public API, behavioral nuances, and coding principles (replacing what /init generated from a stale POC branch)
  • Information architecture restructured into 8 sections: Introduction, Getting Started, Jobs, Queues, Production, Recipes, API Reference, Resources — all existing files moved with git history preserved, all internal links updated, VitePress rewrites added for old URLs
  • Front door rewritten — homepage hero leads with "background jobs without Redis", Why Sidequest page explains the value prop and target persona (Solid Queue–style pragmatism), How It Works covers the two-process + piscina architecture
  • Alternatives page with feature matrix researched from official docs (BullMQ, Agenda, pg-boss, Solid Queue, Oban) — honest about tradeoffs, no unverified performance claims, transactional enqueue accurately marked as roadmap
  • Deployment guide added — embedded vs. separate-worker topology, PM2/systemd/Docker examples, multi-instance cron deduplication, connection pool sizing, health checks
  • Recipes added with real runnable code: emails (deduplication, backoff, hard bounce), job chaining, rate limiting, scheduled reports, standalone dashboard
  • run() + convenience methods merged into one page with runtime-metadata table, method decision table, and Next footer

Test plan

  • yarn workspace @sidequest/docs build passes with zero dead links
  • Spot-check sidebar structure in local dev (yarn workspace @sidequest/docs dev)
  • Verify old URLs redirect correctly (e.g. /jobs/lifecycle/guide/jobs/lifecycle)
  • Review Introduction / Why Sidequest copy for accuracy
  • Review Alternatives table for any stale data

Comment thread packages/docs/guide/jobs/running.md Outdated
Comment thread packages/docs/guide/jobs/running.md Outdated
Comment thread packages/docs/introduction/how-it-works.md Outdated
Comment thread packages/docs/introduction/how-it-works.md Outdated
Comment thread packages/docs/introduction/how-it-works.md Outdated
Comment thread packages/docs/recipes/rate-limiting.md Outdated
@merencia merencia marked this pull request as ready for review May 3, 2026 13:29
merencia and others added 11 commits May 3, 2026 18:49
Documents architecture, dev loop, public API surface, behavioral nuances,
and coding principles — rewritten from actual source rather than the stale
POC that /init had on hand.
Reorganise all docs pages into a clearer 8-section hierarchy:
Introduction, Getting Started, Jobs (guide), Queues (guide),
Production, Recipes, API Reference, and Resources.

File moves preserve git history; all internal links updated to
match new paths; VitePress config updated with new sidebar,
nav, and rewrites for old URLs.
Homepage hero leads with the core value prop. Why Sidequest page
explains the Redis overhead problem, transactional enqueue advantage,
and target persona. How It Works page covers the two-process
architecture, piscina thread pool, atomic job claiming, and queue
model with prose and diagrams.
…ueue, Oban

Feature matrix sourced from official docs and GitHub repos (as of May 2026).
Per-library sections explain where each alternative wins and where Sidequest
wins, with explicit caveats. No benchmarks — performance claims omitted.
Deployment guide covers embedded vs. separate-worker topology,
environment variables, PM2/systemd/Docker examples, multi-instance
cron deduplication, dashboard security, connection pool sizing,
and graceful shutdown notes.

Also corrects the comparison table: transactional enqueue is not
yet a first-class JobBuilder API — marked as roadmap item with
an honest footnote.
Five recipes with real, runnable code:
- Emails: basic job, deduplication, scheduled digest, backoff, fail() on hard bounce
- Job chaining: sequential steps, fan-out pattern, passing data between steps
- Rate limiting: queue concurrency, snooze on 429, availableAt spacing
- Scheduled reports: daily/weekly/monthly cron, multi-instance deduplication, on-demand trigger
- Standalone dashboard: SidequestDashboard usage, separate process topology
Merge guide/jobs/run-method.md and convenience-methods.md into a
single guide/jobs/running.md with a runtime-metadata table,
method reference (complete/fail/retry/snooze), decision table,
and Next footer.

Add Next footers to installation.md and class.md. Fix all internal
links and add VitePress rewrites for the old page URLs.
- Restore homepage to original content (only update action links)
- Remove Alternatives comparison page
- Remove rate-limiting recipe (not a Sidequest feature)
- Rename sidebar entry to "Execution and Control"
- Rewrite running.md with flow control framing
- Remove transactional enqueue roadmap claim from why.md
@merencia merencia merged commit 9b197ec into master May 3, 2026
6 checks passed
@merencia merencia deleted the docs/rewrite branch May 3, 2026 22:47
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.

2 participants