-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
139 lines (139 loc) · 3.66 KB
/
config.js
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
module.exports = {
locales: {
'/': {
base: '/',
lang: 'zh-CN',
title: 'Ronald Zhao\'s Blog',
description: 'Stay hungary. Stay foolish. —— Steve Jobs',
// 编辑链接文字
editLinkText: '在 GitHub 上编辑此页',
// Service Worker 的配置
serviceWorker: {
updatePopup: {
message: "检测到文章发生更新.",
buttonText: "刷新"
}
},
}
},
head: [
['link', {rel: 'icon', href: '/logo.png'}] // 设置博客的logo
],
markdown: {
lineNumbers: true
},
themeConfig: {
// sidebar: 'auto',
sidebar: {
'/python3/': [
'',// 放最新文章, 其他同理
//'python-decorator',
'functools-wraps',
'generate-random-array',
'python-electronjs',
'blzyy',
'closure',
'interview',
'multiple-inheritance-mixin',
'traps',
'yield-generator',
'yield-from',
],
'/lintcode/': [
'level-0',
'level-1',
'level-2',
'level-3',
'level-4',
],
'/leetcode/': [
//'',
'easy',
'medium',
'hard',
],
'/newcoder/': [
'',
],
'/codewars/': [
'',
],
'/mysql/': [
'',
],
'/redis/': [
'',
],
'/algorithms/': [
'',
'algorithm-and-data-structure',
],
'/guide/': [
'',
// 'aliyunos-install-nginx',
//'kxsw',
],
'/notes/': [
'',
'lastUpdated',
],
'/devtools/': [
'',
'hyper',
'sonarqube',
'python-vscode',
// 'chocolatey',
'powershell',
'atom-flight-manual',
'vscode-config',
'from-pip-to-pipenv',
'vim-screen-split',
'git-cheatsheet'
],
'/': [
'',
'about',
]
},
repo: 'https://github.com/RonaldZhao/RonaldZhao.github.io',
// 默认是 false, 设置为 true 来启用
editLinks: false,
// 默认为 "Edit this page"
editLinkText: '帮助我改善此页面!',
// 最后更新时间
lastUpdated: true,
// search: false,
// searchMaxSuggestions: 10,
/*
algolia: {
apiKey: '',
indexName: ''
},
*/
nav: [
{text: 'Python3', link: '/python3/'},
{
text: '刷题',
items: [
{text: 'LintCode', link: '/lintcode/level-0'},
{text: 'LeetCode', link: '/leetcode/easy'},
{text: 'NerCoder', link: '/newcoder/'},
{text: 'CodeWars', link: '/codewars/'},
]
},
{
text: '数据库',
items: [
{text: 'MySQL', link: '/mysql/'},
{text: 'Redis', link: '/redis/'},
]
},
{text: 'Algorithms', link: '/algorithms/'},
{text: 'Guide', link: '/guide/'},
{text: 'Notes', link: '/notes/'},
{text: 'Tools', link: '/devtools/'},
{text: 'About', link: '/about'},
{text: '💗', link: '/love/'},
]
},
}