-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
149 lines (143 loc) · 3.41 KB
/
astro.config.mjs
File metadata and controls
149 lines (143 loc) · 3.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// https://astro.build/config
export default defineConfig({
site: 'https://docs.anssl.cn',
// base: '/doc/',
integrations: [
starlight({
title: 'anssl',
lastUpdated: true,
logo: {
src: './src/assets/logo.png',
},
favicon: '/favicon.ico',
locales: {
root: {
label: '简体中文',
lang: 'zh-CN',
},
en: {
label: 'English',
lang: 'en-US',
},
},
social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/https-cert/website' }],
sidebar: [
{
label: '入门',
translations: { 'en-US': 'Getting Started' },
items: [
{
label: '概览',
translations: { 'en-US': 'Overview' },
slug: 'starteds/overview',
},
{
label: '快速开始',
translations: { 'en-US': 'Quickstart' },
slug: 'starteds/started',
},
{
label: '证书基础知识',
translations: { 'en-US': 'Certificate Basics' },
slug: 'starteds/certificate-basics',
},
],
},
{
label: '指南',
translations: { 'en-US': 'Guides' },
items: [
{
label: '仪表板',
translations: { 'en-US': 'Dashboard' },
slug: 'guides/dashboard',
},
{
label: '证书管理',
translations: { 'en-US': 'Certificate Management' },
slug: 'guides/certificate-management',
},
{
label: '域名监控',
translations: { 'en-US': 'Domain Monitoring' },
slug: 'guides/monitor',
},
{
label: '自动部署',
translations: { 'en-US': 'Automated Deployment' },
slug: 'guides/deploy',
},
{
label: '本地证书',
translations: { 'en-US': 'Self-signed Certificates' },
items: [
{
label: 'CA 根证书使用说明',
translations: { 'en-US': 'CA Root Certificate Guide' },
slug: 'guides/selfcert/ca',
},
],
},
{
label: '设置',
translations: { 'en-US': 'Settings' },
items: [
{
label: '个人资料设置',
translations: { 'en-US': 'Profile Settings' },
slug: 'guides/settings/profile',
},
{
label: '通知设置',
translations: { 'en-US': 'Notification Settings' },
slug: 'guides/settings/notification',
},
],
},
{
label: '工具',
translations: { 'en-US': 'Tools' },
items: [
{
label: 'WHOIS 查询',
translations: { 'en-US': 'WHOIS Lookup' },
slug: 'guides/tools/whois',
},
{
label: 'CSR 生成',
translations: { 'en-US': 'CSR Generator' },
slug: 'guides/tools/csr',
},
{
label: 'DNS 查询',
translations: { 'en-US': 'DNS Query' },
slug: 'guides/tools/dns-query',
},
{
label: 'SSL/TLS 证书检查',
translations: { 'en-US': 'SSL/TLS Certificate Check' },
slug: 'guides/tools/ssl-check',
},
]
},
],
},
{
label: 'FAQ',
translations: { 'en-US': 'FAQ' },
items: [
{
label: '常见问题',
translations: { 'en-US': 'Frequently Asked Questions' },
slug: 'faq/faq',
},
],
},
],
}),
],
devToolbar: { enabled: false },
});