docs: add per-example READMEs and slim the examples showcase#943
Conversation
Add a brief README.md to each runnable example under examples/ describing its scope, pipeline (as a mermaid flowchart), prerequisites, and run command. 24 new READMEs plus 4 existing ones (postgresql, redis_cursor, metadata_regex_filter, wasm_basic) reshaped to the same template. With per-example READMEs now serving as the detail pages behind the showcase, drop the now-duplicated "Companion files & setup" section and the "Setup" column from docs/v2/examples/index.mdx, leaving a clean Example | What it shows catalog plus the inline recipes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (29)
📝 WalkthroughWalkthroughAdds or rewrites ChangesExamples Documentation Overhaul
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested reviewers
Poem
✨ 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 |
What
Every runnable example under
examples/now ships a briefREADME.mdcovering its scope, pipeline (as a mermaid flowchart), prerequisites, and run command.assert,aws_lambda,aws_s3,aws_sqs,dolos_source,elasticsearch,file_cursor,file_rotate,gcp_cloudfunction,gcp_pubsub,hydra,into_json,kafka,metrics,mithril,n2c_source,parse_cbor,redis,select,sqlite,stdout,webhook_basics,zeromq,rabbitmq.postgresql(psql/init.sql),redis_cursor(Demeter tunnel),metadata_regex_filter(regex patterns),wasm_basic(tinygo build).examples/lib/(its own tailored README) andexamples/_deprecated/*.Each pipeline diagram was verified against the example's actual
daemon.toml, and cargo feature flags againstCargo.toml. Run commands use the installed-binary form, pluscargo run --features <feat>where a feature flag is required.Showcase doc cleanup
With the per-example READMEs now serving as the detail pages behind the showcase links,
docs/v2/examples/index.mdx:The "Running an example" guidance, the inline TOML recipes, and the "As a library" section are kept.
🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation