Commit Graph

11 Commits

Author SHA1 Message Date
Wayne Sutton
55f4ada61a new: npx create-markdown-sync CLI , ui , related post thumbnails features 2026-01-10 23:46:08 -08:00
Wayne Sutton
03bf3e49e5 feat: Added a Sync version control system for tracking changes to posts, pages, home content, and footer. 2026-01-09 23:02:28 -08:00
Wayne Sutton
7a8a1c61e3 fix: Docs layout CSS conflict fix 2026-01-08 22:58:34 -08:00
Wayne Sutton
1257fa220f Canonical URL fix for search engines (GitHub Issue #6) and other seo fixes" 2026-01-07 21:48:41 -08:00
Wayne Sutton
b274ddf3c9 Ask AI header button with RAG-based Q&A with semeantic-search added, config in siteconfig 2026-01-06 21:05:20 -08:00
Wayne Sutton
5a8df46681 feat: Add semantic search with vector embeddings
Add vector-based semantic search to complement keyword search.
  Users can toggle between "Keyword" and "Semantic" modes in the
  search modal (Cmd+K, then Tab to switch).

  Semantic search:
  - Uses OpenAI text-embedding-ada-002 (1536 dimensions)
  - Finds content by meaning, not exact words
  - Shows similarity scores as percentages
  - ~300ms latency, ~$0.0001/query
  - Graceful fallback if OPENAI_API_KEY not set

  New files:
  - convex/embeddings.ts - Embedding generation actions
  - convex/embeddingsQueries.ts - Queries/mutations for embeddings
  - convex/semanticSearch.ts - Vector search action
  - convex/semanticSearchQueries.ts - Result hydration queries
  - content/pages/docs-search.md - Keyword search docs
  - content/pages/docs-semantic-search.md - Semantic search docs

  Changes:
  - convex/schema.ts: Add embedding field and by_embedding vectorIndex
  - SearchModal.tsx: Add mode toggle (TextAa/Brain icons)
  - sync-posts.ts: Generate embeddings after content sync
  - global.css: Search mode toggle styles

  Documentation updated:
  - changelog.md, TASK.md, files.md, about.md, home.md

  Configuration:
  npx convex env set OPENAI_API_KEY sk-your-key

  Generated with [Claude Code](https://claude.com/claude-code)

  Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

  Status: Ready to commit. All semantic search files are staged. The TypeScript warnings are pre-existing (unused variables) and don't affect the build.
2026-01-05 18:30:48 -08:00
Wayne Sutton
cb2875a830 Fix: Footer fix for docs section pages, and Centralized defaultTheme in siteConfig.ts 2026-01-03 16:09:30 -08:00
Wayne Sutton
8fe6b53600 feat: Add docsSectionGroupOrder frontmatter field for controlling docs sidebar group order 2026-01-02 23:11:35 -08:00
Wayne Sutton
4cfbb2588a feature: Social footer icons in header navigation 2026-01-01 16:06:36 -08:00
Wayne Sutton
1e759495eb fix: remove homepage intro loading flash by using invisible Suspense fallback and null render during query load 2025-12-31 22:08:10 -08:00
Wayne Sutton
86e9c4cf5b update: moved footer to footer.md and docs updated 2025-12-30 17:29:11 -08:00