61 lines
1.7 KiB
TypeScript
61 lines
1.7 KiB
TypeScript
import { defineConfig } from 'vitepress'
|
||
|
||
// https://vitepress.dev/reference/site-config
|
||
export default defineConfig({
|
||
title: "LinkTool灵图",
|
||
description: "LinkTool相关文档库,让你用一段话就能完成繁琐的地理分析与处理任务",
|
||
themeConfig: {
|
||
// https://vitepress.dev/reference/default-theme-config
|
||
nav: [
|
||
{ text: '首页', link: '/' },
|
||
{ text: '智能体', link: '/agent/usage/introduction' },
|
||
{ text: '插件端', link: '/plugin/usage/introduction' },
|
||
{ text: 'Web端', link: '/web/usage/introduction' }
|
||
],
|
||
|
||
sidebar: {
|
||
'/agent/': [{
|
||
text: '智能体使用说明',
|
||
items: [
|
||
{ text: '入门简介', link: '/agent/usage/introduction' },
|
||
{ text: '快速开始', link: '/agent/usage/quick-start' }
|
||
]
|
||
},
|
||
{
|
||
text: '智能体开发指南',
|
||
items: [
|
||
{ text: '开发简介', link: '/agent/dev/introduction' },
|
||
]
|
||
}],
|
||
'/web/': [{
|
||
text: 'Web端使用说明',
|
||
items: [
|
||
{ text: '入门简介', link: '/web/usage/introduction' }
|
||
]
|
||
},
|
||
{
|
||
text: 'Web端开发指南',
|
||
items: [
|
||
{ text: '开发简介', link: '/web/dev/introduction' },
|
||
]
|
||
}],
|
||
'/plugin/': [{
|
||
text: '插件端使用说明',
|
||
items: [
|
||
{ text: '入门简介', link: '/plugin/usage/introduction' }
|
||
]
|
||
},
|
||
{
|
||
text: '插件端开发指南',
|
||
items: [
|
||
{ text: '开发简介', link: '/plugin/dev/introduction' },
|
||
]
|
||
}]
|
||
},
|
||
|
||
socialLinks: [
|
||
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
|
||
]
|
||
}
|
||
})
|