-
Notifications
You must be signed in to change notification settings - Fork 2
/
pagic.config.tsx
65 lines (64 loc) · 2.19 KB
/
pagic.config.tsx
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
import * as React from 'https://esm.sh/[email protected]'
export default {
srcDir: 'site',
theme: 'docs',
plugins: ['sidebar', 'prev_next'],
title: 'Blitz.js + React 全栈开发手册',
description: 'Blitz + React 全栈开发手册,构建下一代 React 全栈应用',
github: 'https://github.com/hylerrix/blitzjs-tutorial',
head: (<link rel="icon" type="image/png" href="/favicon.png" />),
nav: [
{ text: '文章', link: '/articles/' },
{
text: '打赏一下!!',
link: 'http://qiniu.ningo.cloud/hylerrix/reward-alipay.png',
target: '_blank',
popover: (
<>
<img src="http://qiniu.ningo.cloud/hylerrix/reward-alipay.png" width="256" style={{ marginRight: '1rem', verticalAlign: 'top' }} />
<img src="http://qiniu.ningo.cloud/hylerrix/reward-wechat.png" width="256" style={{ verticalAlign: 'top' }} />
</>
)
},
{ text: 'Deno 钻研之术', target: '_blank', link: 'https://github.com/hylerrix/deno-tutorial' },
{ text: 'Deno 算法之旅', target: '_blank', link: 'https://github.com/hylerrix/deno-algorithm' },
{ text: 'Blitz.js', target: '_blank', link: 'https://blitzjs.com/' },
{ text: '持续添加中...', target: '_blank', link: 'https://github.com/hylerrix' },
{
text: '凝果屋',
link: 'https://github.com/ningowood',
target: '_blank',
popover: (
<img src="http://qiniu.ningo.cloud/ningo/official-qrcode.png" width="256" style={{ verticalAlign: 'top' }} />
)
},
{ text: '关于', target: '_blank', link: 'https://github.com/hylerrix' },
],
sidebar: {
'/articles/': [
'articles/README.md',
{
link: 'articles/blitz/README.md',
title: 'Blitz.js 篇',
children: [
'articles/blitz/blitz-introduction-1.md',
'articles/blitz/blitz-introduction-2.md',
],
},
{
link: 'articles/blitz/README.md',
title: '探索篇',
children: [
'articles/explore/create-react-app-intro.md',
'articles/explore/javascript-toolchain-rome.md',
],
},
// 'articles/THANKS.md',
],
},
tools: {
editOnGithub: true,
backToTop: true
},
port: 8011
}