docs: replace nonexistent repository references

This commit is contained in:
Turtle
2026-08-10 21:36:20 +08:00
parent aaef105b7b
commit d00590c707
51 changed files with 121 additions and 176 deletions

View File

@@ -94,14 +94,14 @@ const sharedTheme: Pick<DefaultTheme.Config, 'search' | 'socialLinks' | 'editLin
},
},
socialLinks: [
{ icon: 'github', link: 'https://github.com/deepseek-ai/deepseek-harness-sdk' },
{ icon: 'github', link: 'https://github.com/deepseek-ai/deepseek-harness' },
],
editLink: {
pattern: ({ frontmatter }: PageData) => {
const data: unknown = frontmatter
const editSource: unknown = typeof data === 'object' && data !== null ? Reflect.get(data, 'editSource') : undefined
if (typeof editSource !== 'string') throw new Error('Projected documentation page has no editSource frontmatter.')
return `https://github.com/deepseek-ai/deepseek-harness-sdk/edit/master/${editSource}`
return `https://github.com/deepseek-ai/deepseek-harness/edit/master/${editSource}`
},
text: '在 GitHub 上编辑此页',
},
@@ -161,7 +161,7 @@ export default withMermaid({
const data: unknown = frontmatter
const editSource: unknown = typeof data === 'object' && data !== null ? Reflect.get(data, 'editSource') : undefined
if (typeof editSource !== 'string') throw new Error('Projected documentation page has no editSource frontmatter.')
return `https://github.com/deepseek-ai/deepseek-harness-sdk/edit/master/${editSource}`
return `https://github.com/deepseek-ai/deepseek-harness/edit/master/${editSource}`
},
text: 'Edit this page on GitHub',
},