-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
98 lines (97 loc) · 4.29 KB
/
astro.config.mjs
File metadata and controls
98 lines (97 loc) · 4.29 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
// @ts-check
import starlight from '@astrojs/starlight'
import { defineConfig } from 'astro/config'
import starlightThemeRapide from 'starlight-theme-rapide'
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
plugins: [starlightThemeRapide()],
title: 'Arch Linux & Windows 双系统安装教程',
social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/USTB-806/archinstall-tutorial' }],
customCss: [
// 添加自定义 CSS
'./src/styles/custom.css',
],
sidebar: [
{
label: '🏠 开始',
items: [
{ label: '序章', slug: 'index' },
],
},
{
label: '📚 准备工作',
items: [
{ label: '直面差异', slug: 'prepare/head-on-blow' },
{ label: '认识 Arch Linux', slug: 'prepare/understand' },
],
},
{
label: '🌱 新手上路',
items: [
{
label: '💾 基础安装',
items: [
{ label: '安装前的准备', slug: 'rookie/pre-install' },
{ label: '虚拟机安装前的准备', slug: 'rookie/pre-virt' },
{ label: 'archlinux 基础安装', slug: 'rookie/basic-install' },
{ label: '基础安装详解', slug: 'rookie/basic-install-detail' },
],
},
{
label: '🔩 进阶安装',
items: [
{ label: '桌面环境与常用应用安装', slug: 'rookie/desktop-env-and-app' },
{ label: '显卡驱动', slug: 'rookie/graphic-driver' },
{ label: '透明代理', slug: 'rookie/transparent' },
],
},
],
},
{
label: '🛠️ 进阶话题',
items: [
{
label: '⚙️ 可选配置',
items: [
{ label: '可选配置(基础篇)', slug: 'advanced/optional-cfg-1' },
{ label: '可选配置(进阶篇)', slug: 'advanced/optional-cfg-2' },
{ label: '功耗控制', slug: 'advanced/power-ctl' },
],
},
{
label: '🌸 系统美化',
items: [
{ label: '系统美化(布局)', slug: 'advanced/beauty-1' },
{ label: '系统美化(主题)', slug: 'advanced/beauty-2' },
{ label: '系统美化(终端)', slug: 'advanced/beauty-3' },
],
},
{
label: '🧰 系统管理',
items: [
{ label: '合格的系统管理员', slug: 'advanced/system-ctl' },
{ label: '常见问题', slug: 'advanced/debug' },
{ label: '制作系统盘', slug: 'advanced/make-install-disk' },
{ label: 'Btrfs 相关', slug: 'advanced/btrfs' },
],
},
],
},
{
label: '📦 应用软件',
items: [
{ label: '去这里看看', slug: 'app/common/gohere' },
],
},
{
label: '📝 后记',
items: [
{ label: '致谢', slug: 'postscript/about' },
],
},
],
}),
],
});