Add <!-- markdownlint-disable MD013 --> comment at the top to prevent
vim from loading diagnostics for this file, matching the pattern used
in other documentation files.
Add comprehensive implementation plan for full-text documentation search
using backend API endpoint instead of build-time Lunr index.
Changes:
- Create DOCS_SEARCH_IMPLEMENTATION.md with complete implementation guide
- Backend: internal/docs/search.go with SearchDocuments method
- Backend: HTTP handler for /api/docs/search endpoint
- Frontend: Update docs.ts to use API instead of client-side Lunr
- Testing: Unit tests (search_test.go) and integration tests (docs_search_test.go)
- Bruno: Add Search Docs.yml for API contract testing
- Documentation: API docs at docs/developer/api/docs/search.md
Key features:
- Full-text search across 152 markdown documentation files
- Case-insensitive matching with snippet extraction
- RESTful API endpoint (no build step required)
- Follows PROJECT_GUIDELINES.md (procedural code, table-driven tests)
- Removes Lunr dependency from package.json
- Consistent with existing /api/media-items/search pattern
Estimated effort: 3-4 hours
Testing strategy: Unit tests + integration tests + Bruno YAML