chore: docs

pull/229/head
xiaojunnuo 2024-10-19 23:13:51 +08:00
parent d6fb26d060
commit 20308345f2
5 changed files with 42 additions and 9 deletions

View File

@ -4,16 +4,49 @@ import lightbox from "vitepress-plugin-lightbox"
// https://vitepress.dev/reference/site-config // https://vitepress.dev/reference/site-config
export default defineConfig({ export default defineConfig({
title: "certd", title: "Certd",
description: "certd帮助文档", description: "Certd帮助文档,Certd是一款全自动证书管理工具",
markdown: { markdown: {
config: (md) => { config: (md) => {
// Use lightbox plugin // Use lightbox plugin
md.use(lightbox, {}); md.use(lightbox, {});
}, },
}, },
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'}],
],
themeConfig: { themeConfig: {
logo: '/images/logo/logo.svg', logo: '/static/logo/logo.svg',
search: {
provider: 'local',
options: {
detailedView: true,
translations: {
button: {
buttonText: '搜索文档',
buttonAriaLabel: '搜索文档'
},
modal: {
noResultsText: '无法找到相关结果',
resetButtonTitle: '清除查询条件',
footer: {
selectText: '选择',
closeText: '关闭',
navigateText: '切换'
}
}
}
}
},
// https://vitepress.dev/reference/default-theme-config // https://vitepress.dev/reference/default-theme-config
nav: [ nav: [
{text: '首页', link: '/'}, {text: '首页', link: '/'},
@ -49,12 +82,12 @@ export default defineConfig({
] ]
}, },
{ {
text: '使用说明', text: '常见问题',
items: [ items: [
{text: '群晖证书部署', link: '/guide/use/synology/'}, {text: '群晖证书部署', link: '/guide/use/synology/'},
{text: '腾讯云', link: '/guide/use/tencent/'}, {text: '腾讯云密钥获取', link: '/guide/use/tencent/'},
{text: '连接windows主机', link: '/guide/use/host/windows.md'}, {text: '连接windows主机', link: '/guide/use/host/windows.md'},
{text: 'google EAB', link: '/guide/use/google/'}, {text: 'Google EAB获取', link: '/guide/use/google/'},
{text: '忘记密码', link: '/guide/use/forgotpasswd/'}, {text: '忘记密码', link: '/guide/use/forgotpasswd/'},
{text: '数据备份', link: '/guide/use/backup/'}, {text: '数据备份', link: '/guide/use/backup/'},
] ]

View File

@ -66,4 +66,4 @@ docker compose up -d
``` ```
> 数据默认存在`/data/certd`目录下,不用担心数据丢失 > 数据默认存在`/data/certd`目录下,不用担心数据丢失
> 建议配置一条[数据库备份流水线](../use/backup/) 自动备份 > 建议配置一条[数据库备份流水线](../../use/backup/) 自动备份

View File

@ -34,7 +34,7 @@ kill -9 $(lsof -t -i:7001)
./start.sh ./start.sh
``` ```
> 数据默认保存在 `./packages/ui/certd-server/data` 目录下 > 数据默认保存在 `./packages/ui/certd-server/data` 目录下
> 建议配置一条[数据库备份流水线](../use/backup/) 自动备份 > 建议配置一条[数据库备份流水线](../../use/backup/) 自动备份

View File

@ -7,7 +7,7 @@ hero:
text: "全自动申请、部署证书管理工具" text: "全自动申请、部署证书管理工具"
tagline: 让你的网站证书永不过期 tagline: 让你的网站证书永不过期
image: image:
src: ./images/logo/logo.svg src: /static/logo/logo.svg
alt: Certd alt: Certd
actions: actions:
- theme: brand - theme: brand

View File

Before

Width:  |  Height:  |  Size: 397 B

After

Width:  |  Height:  |  Size: 397 B