前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
export default function docConfig(location, word) { const prefix = 'https://docs.koderover.com/zadig'; let docUrl = { 个人中心: { KubeConfig: prefix + '/faq/product-usage/#kubectl-工具查询-安装方式', APIToken: prefix + '/api/usage/#api-调用方式' }, }; if (location !== '' && word !== '') { return docUrl[location][word]; } }