Commit fec653d
fix(docs): point gitConfig at the current repository name (#12364)
The docs site declared `gitConfig.repo = 'framework'`, the pre-rename name.
`objectstack-ai/framework` and `objectstack-ai/objectstack` return the same
repository id (1136691870), so the old name is a rename redirect: every GitHub
URL the site emitted resolved, but only after a 301.
Three link types are built from this one constant -- the nav bar's GitHub link,
the homepage hero's GitHub button, and each doc page's "edit this page" link --
and PR for the JSON-LD work emits `SoftwareSourceCode.codeRepository` from it
too, where a stale name is a machine-readable identity claim rather than a link
a human clicks through.
Measured on a local production build: stale-name occurrences across all
prerender artifacts went 3656 -> 0, and all three link types now answer
HTTP/2 200 with no `location:` header where they previously answered HTTP/2 301.
Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent 0a283e3 commit fec653d
1 file changed
Lines changed: 7 additions & 1 deletion
File tree
- apps/docs/lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | | - | |
| 11 | + | |
6 | 12 | | |
7 | 13 | | |
8 | 14 | | |
| |||
0 commit comments