diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 889769c7dbb5deee1f8e2161253ccf7b1029b08c..5de250193391ab4db4d8daa05cb93b29674d0135 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -4,7 +4,6 @@ import type { Config } from '@docusaurus/types'; import type * as Preset from '@docusaurus/preset-classic'; import type { ScalarOptions } from '@scalar/docusaurus'; - const CDN_PREFIX = process.env.DOCS_CDN_PREFIX; const SITE_URL = process.env.DOCS_SITE_URL; const API_URL = process.env.DOCS_API_URL; @@ -92,11 +91,17 @@ const config: Config = { className: 'gai-navbar-item gai-navbar-item-badge', }, { - label: 'AI 应用市场', + label: '应用市场', to: `${SITE_URL}/appstore`, target: '_self', className: 'gai-navbar-item', }, + { + label: '算力市场', + to: `${SITE_URL}/compute`, + target: '_self', + className: 'gai-navbar-item', + }, { label: '模型下载', items: [ @@ -112,36 +117,6 @@ const config: Config = { }, ], }, - { - label: '解决方案', - items: [ - { - label: '模型引擎', - to: `${SITE_URL}/solutions/model-engine`, - target: '_self', - }, - { - label: '应用引擎', - to: `${SITE_URL}/solutions/app-engine`, - target: '_self', - }, - { - label: 'GiEngine 高速推理引擎', - to: `${SITE_URL}/solutions/serverless`, - target: '_self', - }, - { - label: '分布式算力网络', - to: `${SITE_URL}/solutions/computing-network`, - target: '_self', - }, - { - label: '模型微调服务', - to: `${SITE_URL}/solutions/training`, - target: '_self', - }, - ], - }, { label: '专区', items: [ @@ -259,18 +234,19 @@ const config: Config = { metadata: [ { name: 'keywords', - content: 'moark, gitee ai, 模力方舟, 大模型, MaaS, 模型即服务, AI 应用, AI 开发, AI 平台, AI 工具, AI 解决方案, AI 搜索, AI 数据分析' + content: + 'moark, gitee ai, 模力方舟, 大模型, MaaS, 模型即服务, AI 应用, AI 开发, AI 平台, AI 工具, AI 解决方案, AI 搜索, AI 数据分析', }, { name: 'description', content: - '模力方舟(Gitee AI),汇聚了最新最热的 AI 模型,提供模型体验、推理、微调和应用的一站式服务,提供了丰富的算力选择,希望帮助企业和开发者更容易地开发 AI 应用。' - } + '模力方舟(Gitee AI),汇聚了最新最热的 AI 模型,提供模型体验、推理、微调和应用的一站式服务,提供了丰富的算力选择,希望帮助企业和开发者更容易地开发 AI 应用。', + }, ], colorMode: { defaultMode: 'light', disableSwitch: false, - respectPrefersColorScheme: true + respectPrefersColorScheme: true, }, } satisfies Preset.ThemeConfig, plugins: [