Skip to content

Commit

Permalink
Merge pull request #9767 from lockiechen/issue_9766
Browse files Browse the repository at this point in the history
doc: 文档链接优化 issue #9766
  • Loading branch information
stubenhuang authored Dec 5, 2023
2 parents 9068f65 + bc99355 commit a7e8202
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions src/frontend/common-lib/docs.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
const commonPrefix = `${DOCS_URL_PREFIX}/docs/markdown/持续集成平台/产品白皮书`
const gatePrefix = `${DOCS_URL_PREFIX}/docs/markdown/质量红线/产品白皮书`
const turboPrefix = `${DOCS_URL_PREFIX}/docs/markdown/编译加速/产品白皮书`
// const commonPrefix = `${DOCS_URL_PREFIX}/docs/markdown/持续集成平台/产品白皮书`
const commonPrefix = `${DOCS_URL_PREFIX}/bk--docs--center/markdown/Devops/UserGuide`
export const BkciDocs = {
BKCI_DOC: `${commonPrefix}/产品简介/README.md`, // 首页跳转文档
GATE_DOC: `${gatePrefix}/Intro/README.md`, // 质量红线文档
TICKET_DOC: `${commonPrefix}/Services/Ticket/ticket-add.md`, // 凭据文档
WIN_AGENT_GUIDE: `${commonPrefix}/Services/Resource/bkci-hosted-windows-agent.md`, // 安装Windows构建机指引文档
PLUGIN_SPECIFICATE_DOC: `${commonPrefix}/ZH/Devops/UserGuide/Developer/plugins/plugin-dev-standard/plugin-specification.md`, // 插件规范文档
PLUGIN_ERROR_CODE_DOC: `${commonPrefix}/ZH/Devops/UserGuide/Developer/plugins/plugin-dev-standard/plugin-error-code.md`, // 插件错误码文档
BKCI_DOC: `${commonPrefix}/intro/README.md`, // 首页跳转文档
GATE_DOC: `${commonPrefix}/Services/Quailty-gate/quailty-gate.md`, // 质量红线文档
TICKET_DOC: `${commonPrefix}/Services/Ticket/ticket.md`, // 凭据文档
WIN_AGENT_GUIDE: `${commonPrefix}/Services/Pools/self-hosted-agents/windows-agent.md`, // 安装Windows构建机指引文档
PLUGIN_SPECIFICATE_DOC: `${commonPrefix}/Developer/plugins/plugin-dev-standard/plugin-specification.md`, // 插件规范文档
PLUGIN_ERROR_CODE_DOC: `${commonPrefix}/Developer/plugins/plugin-dev-standard/plugin-error-code.md`, // 插件错误码文档
PLUGIN_GUIDE_DOC: `${commonPrefix}/Services/Store/start-new-task.md`, // 插件指引文档
IMAGE_GUIDE_DOC: `${commonPrefix}/Services/Store/docker-build.md`, // docker构建文档
TEMPLATE_GUIDE_DOC: `${commonPrefix}/Services/Store/start-new-template.md`, // 模板指引文档
TURBO_GUIDE_DOC: `${turboPrefix}/Quickstart/linux_c_cpp.md`, // turbo指引文档
IMAGE_GUIDE_DOC: `${commonPrefix}/Services/Store/ci-images/docker-build.md`, // docker构建文档
TEMPLATE_GUIDE_DOC: `${commonPrefix}/Services/Store/ci-templates/start-new-template.md`, // 模板指引文档
TURBO_GUIDE_DOC: `${commonPrefix}/Services/Turbo/linux-tubo-speed/use_in_linux.md`, // turbo指引文档
BKAPP_NAV_OPEN_SOURCE_URL: 'https://github.com/TencentBlueKing/bk-ci', // 开源社区
FEED_BACK_URL: `${DOCS_URL_PREFIX}/s-mart/community/question` // 问题反馈
FEED_BACK_URL: 'https://bk.tencent.com/s-mart/community/question' // 问题反馈
}
export const pipelineDocs = {
ALIAS_BUILD_NO_DOC: `${commonPrefix}/Services/Pipeline/pipeline-edit-guide/alias-buildno.md`, // 构建号别名文档
PIPELINE_ERROR_GUIDE_DOC: `${commonPrefix}/FAQS/FAQ.md`, // 流水线编辑指引文档
NAMESPACE_DOC: `${DOCS_URL_PREFIX}/docs/document/6.1/183/22916` // 命名空间文档
PIPELINE_ERROR_GUIDE_DOC: `${commonPrefix}/Reference/faqs/pipelines/execute.md`, // 流水线编辑指引文档
NAMESPACE_DOC: `${commonPrefix}/Services/Pipeline/pipeline-edit-guide/pipeline-variables/variables-custom.md` // 命名空间文档
}

0 comments on commit a7e8202

Please sign in to comment.