Skip to content

Feat: adds output=json flag to slack docs#382

Closed
lukegalbraithrussell wants to merge 3 commits intomainfrom
feature/docs-search-integration
Closed

Feat: adds output=json flag to slack docs#382
lukegalbraithrussell wants to merge 3 commits intomainfrom
feature/docs-search-integration

Conversation

@lukegalbraithrussell
Copy link
Contributor

Changelog

(Add a note with features or fixes that change the user experience for release notes)

Summary

(Please describe the goal of this pull request and mention any related issue numbers)

Requirements

- Add internal/search package with pure Go search implementation
- Enhance docs command with --output flag (browser|json)
- Support searching 1000+ markdown files with ~500ms performance
- Browser behavior unchanged (default), JSON output for LLMs/automation
- Smart relevance scoring and contextual snippets around search terms
- Auto-discovery of docs repository for seamless integration

Made-with: Cursor
@lukegalbraithrussell lukegalbraithrussell force-pushed the feature/docs-search-integration branch from c173f50 to 2a73f6d Compare March 10, 2026 22:55
- Remove trailing whitespace
- Fix spacing around comments and assignments
- Add final newlines to files

Made-with: Cursor
@lukegalbraithrussell lukegalbraithrussell deleted the feature/docs-search-integration branch March 10, 2026 23:07
@codecov
Copy link

codecov bot commented Mar 11, 2026

Codecov Report

❌ Patch coverage is 4.92424% with 251 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.57%. Comparing base (1ab5496) to head (44e7fca).

Files with missing lines Patch % Lines
internal/search/search.go 0.00% 211 Missing ⚠️
cmd/docs/docs.go 24.52% 38 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #382      +/-   ##
==========================================
- Coverage   65.42%   64.57%   -0.86%     
==========================================
  Files         216      217       +1     
  Lines       17937    18197     +260     
==========================================
+ Hits        11736    11750      +14     
- Misses       5111     5358     +247     
+ Partials     1090     1089       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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