Commit Graph

6 Commits

Author SHA1 Message Date
snomiao
8a1d38e9b7 Revert "fix: create docs/pages directory in build script for Vercel compatibility"
This reverts commit b23d830cc7.
2025-10-16 00:34:10 +00:00
snomiao
b23d830cc7 fix: create docs/pages directory in build script for Vercel compatibility
- Add creation of .pages/docs/pages/index.html to build script
- Include redirect to main documentation
- Resolves Vercel deployment path error in CI/CD
- Directory is auto-generated during build process

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 00:28:09 +00:00
snomiao
3fa93f60e2 docs(build-pages.sh): update note for local development to reflect correct path for index.html file 2025-10-16 00:09:01 +00:00
snomiao
a02fc0f802 feat(pages): optimize GitHub Pages artifact handling and improve build configuration
- Update vitest-reports artifact download paths to use .gh-pages-cache for better organization
- Fix .gitignore core dump pattern to be more general (core instead of /core)
- Update .pages structure with migrated documentation and configuration
- Refine Knip configuration to exclude .pages directory while keeping vite.config.ts
- Improve build-pages.sh script to use relative paths consistently for .pages directory

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-14 22:53:07 +00:00
snomiao
46d2fd594e feat(branch-reports)!: feat(branch-reports): migrate docs/pages to .pages and update CI for Git\n\n- Remove and replace CI workflow for deploying GitHub Pages: deleted .github/workflows/deploy-gh-pages.yml; added .github/workflows/release-pages.yml to deploy to GitHub Pages and Vercel.\n- Reorganize docs assets: move docs/pages to .pages, renaming index.html, knip.html, and Vite config to .pages, and updating README accordingly.\n- Update Knip configuration to include new .pages path and adjust excludes.\n- Update build tooling and scripts to target the new .pages folder: add pages:dev and pages:build scripts, and adjust scripts/build-pages.sh to output to .pages.\n- Update package.json and TS/Vitest configs: include .pages in tsconfig; adjust vitest coverage settings to output under .vitest; add required reporters.\n- Remove legacy docs/pages ignores and tsconfig pointing at docs/pages; replace with .pages equivalents.\n- Note breaking changes: All generated docs/pages outputs are now under .pages. Existing paths, and GitHub Actions workflows expecting docs/pages are replaced by new .pages structure and the release-pages workflow.\n- New Knip HTML wrapper is now placed at .pages/knip.html. 2025-10-14 10:31:38 +00:00
snomiao
807a395b29 chore: refresh docs pages publishing flow 2025-10-14 03:58:38 +00:00