Repository navigation
docs: add comprehensive code documentation and streamline README - #22
Conversation
Add Go stdlib-style documentation across all packages: - internal/trigram: trigram packing, extraction, deduplication - internal/posting: inverted index structure, intersection algorithm - internal/index: on-disk format, builder phases, reader mmap strategy - internal/query: full search pipeline, regex decomposition - internal/sync: git baseline + dirty file overlay strategy - cmd/grepturbo: CLI entrypoint and subcommand documentation Enhance docs/ARCHITECTURE.md with: - Build and query phase diagrams - Key invariant enforcement (no false negatives) - CLI integration documentation - Implementation phase workflow Streamline README.md to focus on essentials: - Keep benchmark and install sections - Add flags and usage with shorthand syntax (grepturbo <pattern>) - Remove "How It Works", process flow, testing, and architecture details - Point to ARCHITECTURE.md for deep dives Co-Authored-By: Claude Haiku 4.5 <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 (12)
📝 WalkthroughWalkthroughThis PR refreshes documentation and clarification comments throughout the GrepTurbo codebase. README installation and usage sections are rewritten with clear command examples and expected output. CLI help text for ChangesDocumentation and Architecture Clarification
🎯 2 (Simple) | ⏱️ ~10 minutes
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Add Go stdlib-style documentation across all packages:
Enhance docs/ARCHITECTURE.md with:
Streamline README.md to focus on essentials:
Summary by CodeRabbit