mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-23 00:20:40 +07:00
docs(specs): record the review-fix spec, gate results and doc-drift closure
New spec-v3-review-fixes.md carries the findings, the per-bundle implementation detail, the affected-file list, the out-of-scope table including the declined resume.pdf bundle with its measured 200 text/html probe, the gate numbers and the commit record. spec-v2-seo.md acceptance is now honest: robots, sitemap, JSON-LD and canonical are done, per-route title/description/OG remain open because the SPA serves one head for every route. spec-v2.md statuses no longer contradict shipped work. AGENTS.md drops both barrels, documents the pure field() helper, the canonical origin module, the sitemap build step and the lazy/default-export gotcha.
This commit is contained in:
1 parent
63afc1b505
commit
e6dc99ec85
4 files changed
+214
-17
No files matched your search
@@ -64,9 +64,11 @@ Mỗi page có OG tags:
|
||||
|
||||
## Acceptance
|
||||
|
||||
- [ ] Mỗi page có `<title>` và `<meta description>` riêng
|
||||
- [ ] OG tags đúng trên mỗi page
|
||||
- [ ] `sitemap.xml` generated tại build
|
||||
- [ ] `robots.txt` có trong `public/`
|
||||
- [ ] JSON-LD structured data
|
||||
- [ ] Canonical URL đúng
|
||||
- [~] Homepage `<title>` + `<meta description>` are real (Bundle D of `specs/v3/spec-v3-review-fixes.md`). Per-route titles/descriptions are still open: the SPA serves one head for every route, so `/about` and `/projects/{id}` report the homepage metadata. Closing this needs head management in React or build-time prerender
|
||||
- [~] OG tags are correct for the homepage URL, including `og:image` with explicit 1200×1600 and alt text. Per-page `og:title` / `og:url` are not emitted, for the same reason
|
||||
- [x] `sitemap.xml` generated at build — `scripts/generate-sitemap.ts`, chained into `pnpm build`, 10 urls (6 `navPaths` + 4 `/projects/{id}`), each with `lastmod`
|
||||
- [x] `robots.txt` in `public/` — allow-all plus the `Sitemap:` pointer to the canonical origin
|
||||
- [x] JSON-LD structured data — `Person` on the homepage with `sameAs` GitHub/LinkedIn and a `PostalAddress`. `BreadcrumbList` and the blog `Article` schema remain open
|
||||
- [x] Canonical URL correct — `https://cv.vugado.com/` in `index.html`; `src/data/site.ts` is the single source the sitemap derives from, and the generator fails the build if `dist/index.html` no longer contains it
|
||||
|
||||
Measurements and HTTP probes: `specs/v3/spec-v3-review-fixes.md` §5.1.
|
||||
Reference in new issue
Block a user