fix: AI service links now use local /raw URLs with simplified prompt

- Changed ChatGPT, Claude, and Perplexity links from GitHub raw URLs to local /raw/{slug}.md
  - Simplified AI prompt from multi-line instructions to "Read this URL and summarize it:"
  - URLs now constructed using window.location.origin for consistency
  - Removed unused siteConfig import and getGitHubRawUrl function
  - No longer requires git push for AI links to work (synced content available immediately)

  Updated: src/components/CopyPageDropdown.tsx, changelog.md, task.md, files.md, changelog-page.md
This commit is contained in:
Wayne Sutton
2026-01-03 21:47:46 -08:00
parent c1f041fc66
commit ca40d199da
5 changed files with 52 additions and 24 deletions

View File

@@ -12,6 +12,23 @@ docsSectionOrder: 4
All notable changes to this project.
![](https://img.shields.io/badge/License-MIT-yellow.svg)
## v2.8.4
Released January 3, 2026
**AI service links now use local /raw URLs**
- ChatGPT, Claude, and Perplexity links now use local `/raw/{slug}.md` URLs instead of GitHub raw URLs
- Simplified AI prompt from multi-line instructions to "Read this URL and summarize it:"
- No longer requires git push for AI links to work (synced content available immediately)
**Technical details:**
- Updated URL construction to use `window.location.origin` for consistency
- Removed unused `siteConfig` import and `getGitHubRawUrl` function
Updated files: `src/components/CopyPageDropdown.tsx`
## v2.8.3
Released January 3, 2026