fix: 更新帮助页面链接以指向正确的文档路径

This commit is contained in:
catlog22
2026-02-08 13:59:06 +08:00
parent 0a04660c80
commit cafc6d06fe

View File

@@ -65,7 +65,7 @@ const helpSectionsConfig: HelpSectionConfig[] = [
i18nKey: 'home.help.commands.title',
descriptionKey: 'home.help.commands.description',
icon: Terminal,
link: '/docs/commands',
link: '/docs/commands/general/ccw',
isExternal: false,
badge: 'Docs',
},
@@ -207,7 +207,7 @@ export function HelpPage() {
</div>
</div>
<Button variant="ghost" size="sm" className="w-full mt-auto" asChild>
<a href="/docs/commands" className="inline-flex items-center justify-center whitespace-nowrap">
<a href="/docs/commands/general/ccw" className="inline-flex items-center justify-center whitespace-nowrap">
{formatMessage({ id: 'help.viewAll' })}
<ArrowRight className="w-4 h-4 ml-1 flex-shrink-0" />
</a>
@@ -242,7 +242,7 @@ export function HelpPage() {
</div>
</div>
<Button variant="ghost" size="sm" className="w-full mt-auto" asChild>
<a href="/docs/workflows" className="inline-flex items-center justify-center whitespace-nowrap">
<a href="/docs/workflows/introduction" className="inline-flex items-center justify-center whitespace-nowrap">
{formatMessage({ id: 'help.viewAll' })}
<ArrowRight className="w-4 h-4 ml-1 flex-shrink-0" />
</a>