Skip to content

Commit fec653d

Browse files
os-zhuangclaude
andauthored
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/layout.shared.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
22

3+
// The repository was renamed `framework` → `objectstack`. GitHub keeps a permanent
4+
// rename redirect, so the old name still resolves — but every URL built from it costs a
5+
// 301, and `repo` is also the source of `SoftwareSourceCode.codeRepository` in the
6+
// homepage JSON-LD, where it is a machine-readable identity claim rather than a link.
7+
// Keep this the *current* name: a future repo actually named `framework` would silently
8+
// repoint every link built here.
39
export const gitConfig = {
410
user: 'objectstack-ai',
5-
repo: 'framework',
11+
repo: 'objectstack',
612
branch: 'main',
713
};
814

0 commit comments

Comments
 (0)