-
Notifications
You must be signed in to change notification settings - Fork 54
/
pagic.config.tsx
155 lines (154 loc) · 4.76 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
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
150
151
152
153
154
155
// @deno-types="https://deno.land/x/[email protected]/src/types/react/v16.13.1/react.d.ts"
import React from 'https://dev.jspm.io/[email protected]'
export default {
srcDir: 'site',
theme: 'docs',
plugins: ['sidebar', 'prev_next', 'gitalk', 'ga'],
title: 'Deno 钻研之术',
description: '循序渐进学 Deno & 先易后难补 Node & 面向未来的 Deno Web 应用开发。',
github: 'https://github.com/hylerrix/deno-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: '资源', target: '_blank', link: 'https://github.com/hylerrix/awesome-deno-cn' },
{ text: '镜像', target: '_blank', link: 'http://tutorial.deno.js.cn' },
{ text: 'Blitz.js + React 全栈开发手册', target: '_blank', link: 'https://github.com/hylerrix/blitzjs-tutorial' },
{ 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/document/README.md',
title: '文档篇',
children: [
'articles/document/deno-version-handbook.md',
'articles/document/deno-cli-handbook.md',
'articles/document/deno-translation-dictionary.md',
],
},
{
link: 'articles/basic/README.md',
title: '基础篇',
children: [
'articles/basic/install-and-hello-world.md',
],
},
{
link: 'articles/architecture/README.md',
title: '架构篇',
children: [
{
link: 'articles/architecture/cli/README.md',
title: '探索 CLI',
children: [
'articles/architecture/cli/deno-cli-v1-function.md'
],
},
],
},
// {
// link: 'articles/frontend/README.md',
// title: '前端篇',
// children: [],
// },
// {
// link: 'articles/backend/README.md',
// title: '后端篇',
// children: [],
// },
{
link: 'articles/ecology/README.md',
title: '生态篇',
children: [
'articles/ecology/awesome-deno-cn.md'
],
},
// {
// link: 'articles/language/README.md',
// title: '语言篇',
// children: [],
// },
// {
// link: 'articles/official/README.md',
// title: 'Node 篇',
// children: [
// ],
// },
{
link: 'articles/official/README.md',
title: '官方篇',
children: [
'articles/official/thoroughgoing-deno-in-2020.md',
'articles/official/thoroughgoing-deno-1-8.md',
'articles/official/translate-deno-1-9.md',
],
},
{
link: 'articles/translation/README.md',
title: '翻译篇',
children: [
'articles/translation/the-deno-handbook.md',
'articles/translation/deno-chat-app.md',
'articles/translation/from-node-to-deno.md',
'articles/translation/deno-oak-todo-api.md',
'articles/translation/deno-oak-mysql.md',
'articles/translation/why-deno-wrong.md',
'articles/translation/why-deno-flopped.md',
'articles/translation/deno-url-shortener.md',
'articles/translation/deno-alpeh-react.md',
],
},
{
link: 'articles/rust/README.md',
title: 'Rust 篇',
children: [
'articles/rust/rust-tutorial-todo-app.md',
],
},
// {
// link: 'articles/forward/README.md',
// title: '转载篇',
// children: [],
// },
'articles/TIMELINE.md',
'articles/THANKS.md',
],
},
tools: {
editOnGithub: true,
backToTop: true
},
gitalk: {
clientID: '60180eea2c09238f8998',
clientSecret: 'e9ea0ff6555185eda28eff4dfd4b755b1764abf3',
repo: 'deno-tutorial',
owner: 'hylerrix',
admin: ['hylerrix'],
pagerDirection: 'first'
},
ga: {
id: 'UA-169223577-1'
},
port: 8011
}