You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.2 KiB
40 lines
1.2 KiB
import { defineConfig } from 'vitepress'
|
|
import sidebar from './sidebar.mts'
|
|
import nav from './nav.mts'
|
|
|
|
export default defineConfig({
|
|
title: "NIAR",
|
|
description: "项目技术栈、服务器信息、文档一站式平台",
|
|
// head: [["link", { rel: "icon", href: "/logo.svg" }]], // 浏览器标签页logo
|
|
themeConfig: {
|
|
logo: '/logo.png', // 放你自己的图标
|
|
nav,
|
|
sidebar,
|
|
outlineTitle: "页面导航", // 右侧导航顶层标题
|
|
outline: "deep", // 右侧导航标题显示 https://vitepress.dev/zh/reference/default-theme-config#outline
|
|
docFooter: {
|
|
prev: "上一页",
|
|
next: "下一页",
|
|
},
|
|
socialLinks: [
|
|
{ icon: 'gitea', link: 'http://gitlab.jiagutech.com/' },
|
|
// { icon: 'github', link: 'https://github.com/vuejs/vitepress' },
|
|
|
|
],
|
|
search: {
|
|
provider: 'local'
|
|
},
|
|
editLink: {
|
|
pattern: 'http://gitlab.jiagutech.com/sizhiheng/jg-doc/src/branch/master/docs/:path',
|
|
text: '在 Gitea 上编辑此页面'
|
|
},
|
|
lastUpdated: {
|
|
text: '更新时间',
|
|
},
|
|
|
|
// 可选开启暗黑模式切换(默认开启)
|
|
darkMode: true,
|
|
|
|
// 可添加搜索插件等配置
|
|
}
|
|
})
|
|
|