-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpagic.config.tsx
More file actions
51 lines (48 loc) · 878 Bytes
/
Copy pathpagic.config.tsx
File metadata and controls
51 lines (48 loc) · 878 Bytes
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
import { React } from 'https://deno.land/x/pagic@v1.3.1/mod.ts';
const nav = [
{
text: '技术文档',
link: '/docs/index.html',
},
];
const sidebar = {
'/': [
{
text: 'C++',
children: [
]
},
{
text: 'Windows系统开发',
children: [
],
},
],
};
export default {
srcDir: 'docs',
root: '/docs/',
theme: 'docs',
plugins: ['sidebar', 'prev_next'],
title: '斜阳草树 寻常巷陌',
description: '',
github: 'https://github.com/Prochg/docs',
nav,
sidebar,
tools: {
editOnGitHub: false,
backToTop: true,
},
md: {
anchorLevel: [1, 2, 3, 4, 5, 6],
tocEnabled: true,
tocLevel: [1, 2, 3, 4]
},
head: (
<>
<link rel="stylesheet" type="text/css" id="customTheme" href="/docs/assets/theme.css" />
<script src="/docs/assets/custom.js" />
</>
),
port: 8000,
};