Skip to content

Commit 52be369

Browse files
aalemayhuclaude
andcommitted
fix(docs): point Edit-on-GitHub link at the monorepo path
SOURCE_ROOT was 'src/pages/DocsPage/' — correct for the old standalone 2anki/web repo, but the monorepo lives the file at web/src/pages/DocsPage/. Edit links currently 404. Add the web/ prefix. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 64597fa commit 52be369

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

web/src/pages/DocsPage/loader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function slugFromPath(path: string): string {
118118
return path.slice(start, end);
119119
}
120120

121-
const SOURCE_ROOT = 'src/pages/DocsPage/';
121+
const SOURCE_ROOT = 'web/src/pages/DocsPage/';
122122

123123
const docs: Record<string, LoadedDoc> = {};
124124
for (const [path, raw] of Object.entries(modules)) {

0 commit comments

Comments
 (0)