docs: reorder v2 sidebar, split examples, add quickstart install tabs#952
Conversation
Acting on review feedback for the published v2 docs: - Sidebar order: fix the dataflow ordering (Sources -> Filters -> Sinks, was Filters -> Sources -> Sinks), cluster the standalone intro pages at the top (Introduction -> How it works -> Quick Start) instead of wedging Quick Start between groups, and move Reference below the config section. Added intentional intra-group order for Installation and Usage (watch -> dump -> daemon -> library). - Rename the "Advanced Features" group to "Configuration" and position it right after the component groups — these pages are all optional daemon.toml config blocks. Kept it separate from Usage (CLI entry points) rather than merging. - Split Examples into "Runnable examples" (the repo projects) and a new "Recipes" page (the inline copy-paste daemon.toml snippets). - Quickstart step 1 now offers the full install-method tabs (Shell / PowerShell / Homebrew / npm), matching the Binary Releases page. Verified with a full local astro build of txpipe/docs: 196 pages built, the Tabs-in-Steps install block renders, and the new Recipes page builds. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (19)
📝 WalkthroughWalkthroughDocumentation restructuring across the ChangesDocs Navigation and Content Restructure
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Acting on review feedback for the published v2 docs.
1. Sidebar order (was "weird")
New top-level order:
Introduction → How it works → Quick Start → Installation → Usage → Sources → Filters → Sinks → Configuration → Reference → Examples → Guides → Troubleshootingdaemon.tomlblock order.All ordering is via
_meta.yaml/sidebar.order— no file moves, no URL changes.2. Examples split into Runnable vs Recipes
examples/) — the catalog of clone-and-run repo projects.examples/recipes.mdx) — the inline copy-pastedaemon.tomlsnippets, moved out of the index. The two pages cross-link.3. Quickstart install tabs
Step 1 now offers the full install-method tabs (Shell / PowerShell / Homebrew / npm), matching the Binary Releases page, instead of a single shell one-liner.
4. Evaluation: merge Usage + "Advanced Features"?
Recommendation: don't merge. Usage = CLI/entry points (
watch/dump/daemon/library); the other group is optionaldaemon.tomlconfig blocks ([intersect]/[cursor]/[retries]/[chain]/[metrics]/finalize). Merging would mix "how to run" with "how to configure" in one ~10-item group. Instead I renamed "Advanced Features" → "Configuration" (which is what it is) and repositioned it right after the component groups, where the config story lives. That addresses the muddled identity that prompted the question without conflating two different concerns.Verification
Ran a full local
astro buildoftxpipe/docsagainst this content (Chromium installed for Mermaid):🤖 Generated with Claude Code
Summary by CodeRabbit