2024-10-17 18:32:45 +08:00
|
|
|
import {defineConfig} from 'vitepress'
|
|
|
|
|
// Import lightbox plugin
|
|
|
|
|
import lightbox from "vitepress-plugin-lightbox"
|
|
|
|
|
|
|
|
|
|
// https://vitepress.dev/reference/site-config
|
|
|
|
|
export default defineConfig({
|
2024-10-19 23:13:51 +08:00
|
|
|
title: "Certd",
|
|
|
|
|
description: "Certd帮助文档,Certd是一款全自动证书管理工具",
|
2024-10-17 18:32:45 +08:00
|
|
|
markdown: {
|
|
|
|
|
config: (md) => {
|
|
|
|
|
// Use lightbox plugin
|
|
|
|
|
md.use(lightbox, {});
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-10-19 23:13:51 +08:00
|
|
|
head: [
|
|
|
|
|
// [
|
|
|
|
|
// 'meta',
|
|
|
|
|
// {
|
|
|
|
|
// name: 'viewport',
|
|
|
|
|
// content:
|
|
|
|
|
// 'width=device-width,initial-scale=1,minimfast-cum-scale=1.0,maximum-scale=1.0,user-scalable=no',
|
|
|
|
|
// },
|
|
|
|
|
// ],
|
|
|
|
|
['meta', {name: 'keywords', content: '证书自动申请、证书自动更新、证书自动续期、证书自动续签、证书管理工具、Certd、SSL证书自动部署、证书自动化'}],
|
|
|
|
|
['link', {rel: 'icon', href: '/favicon.ico'}],
|
|
|
|
|
],
|
2024-10-17 18:32:45 +08:00
|
|
|
themeConfig: {
|
2024-10-19 23:13:51 +08:00
|
|
|
logo: '/static/logo/logo.svg',
|
|
|
|
|
search: {
|
|
|
|
|
provider: 'local',
|
|
|
|
|
options: {
|
|
|
|
|
detailedView: true,
|
|
|
|
|
translations: {
|
|
|
|
|
button: {
|
|
|
|
|
buttonText: '搜索文档',
|
|
|
|
|
buttonAriaLabel: '搜索文档'
|
|
|
|
|
},
|
|
|
|
|
modal: {
|
|
|
|
|
noResultsText: '无法找到相关结果',
|
|
|
|
|
resetButtonTitle: '清除查询条件',
|
|
|
|
|
footer: {
|
|
|
|
|
selectText: '选择',
|
|
|
|
|
closeText: '关闭',
|
|
|
|
|
navigateText: '切换'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-10-17 18:32:45 +08:00
|
|
|
// https://vitepress.dev/reference/default-theme-config
|
|
|
|
|
nav: [
|
|
|
|
|
{text: '首页', link: '/'},
|
2024-10-19 22:49:33 +08:00
|
|
|
{text: '指南', link: '/guide/'},
|
|
|
|
|
{text: 'Demo体验', link: 'https://certd.handsfree.work'}
|
2024-10-17 18:32:45 +08:00
|
|
|
],
|
|
|
|
|
sidebar: {
|
|
|
|
|
"/guide/": [
|
|
|
|
|
{
|
|
|
|
|
text: '入门',
|
|
|
|
|
items: [
|
|
|
|
|
{text: '简介', link: '/guide/'},
|
2024-10-19 22:49:33 +08:00
|
|
|
{text: '快速开始', link: '/guide/start.md'},
|
2024-10-17 18:32:45 +08:00
|
|
|
{
|
|
|
|
|
text: '私有化部署',
|
|
|
|
|
items: [
|
2024-10-19 22:49:33 +08:00
|
|
|
{text: 'docker部署', link: '/guide/install/docker/'},
|
|
|
|
|
{text: '宝塔面板部署', link: '/guide/install/baota/'},
|
|
|
|
|
{text: '1Panel部署', link: '/guide/install/1panel/'},
|
|
|
|
|
{text: '群晖部署', link: '/guide/use/synology/'},
|
|
|
|
|
{text: '源码部署', link: '/guide/install/source/'},
|
2024-10-17 18:32:45 +08:00
|
|
|
]
|
|
|
|
|
},
|
2024-10-19 22:49:33 +08:00
|
|
|
{text: '演示教程', link: '/guide/tutorial.md'},
|
2024-10-17 18:32:45 +08:00
|
|
|
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
text: '特性',
|
|
|
|
|
items: [
|
2024-10-19 22:49:33 +08:00
|
|
|
{text: 'CNAME代理校验', link: '/guide/feature/cname/index.md'},
|
2024-10-17 18:32:45 +08:00
|
|
|
{text: '插件列表', link: '/guide/plugins.md'},
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
2024-10-19 23:13:51 +08:00
|
|
|
text: '常见问题',
|
2024-10-17 18:32:45 +08:00
|
|
|
items: [
|
|
|
|
|
{text: '群晖证书部署', link: '/guide/use/synology/'},
|
2024-10-19 23:13:51 +08:00
|
|
|
{text: '腾讯云密钥获取', link: '/guide/use/tencent/'},
|
2024-10-19 22:49:33 +08:00
|
|
|
{text: '连接windows主机', link: '/guide/use/host/windows.md'},
|
2024-10-19 23:13:51 +08:00
|
|
|
{text: 'Google EAB获取', link: '/guide/use/google/'},
|
2024-10-19 22:49:33 +08:00
|
|
|
{text: '忘记密码', link: '/guide/use/forgotpasswd/'},
|
|
|
|
|
{text: '数据备份', link: '/guide/use/backup/'},
|
2024-10-17 18:32:45 +08:00
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
text: '其他',
|
|
|
|
|
items: [
|
2024-10-19 22:49:33 +08:00
|
|
|
{text: '镜像说明', link: '/guide/image.md'},
|
|
|
|
|
{text: '更新日志', link: '/guide/changelogs/CHANGELOG.md'},
|
2024-10-17 18:32:45 +08:00
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
socialLinks: [
|
|
|
|
|
{icon: 'github', link: 'https://github.com/certd/certd'},
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
})
|