Skip to content

Commit 95f8f86

Browse files
author
喜欢葡萄+芝士的妹妹
committed
feat: 新增一些文档
1 parent d210ebd commit 95f8f86

File tree

23 files changed

+2743
-1896
lines changed

23 files changed

+2743
-1896
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
// 'airbnb-base',
99
],
1010
parserOptions: {
11-
ecmaVersion: "latest",
11+
// ecmaVersion: "latest",
1212
},
1313
rules: {},
1414
};

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
shamefully-hoist=true
2+
registry=https://registry.npmmirror.com

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Fix11111
3+
Copyright (c) 2020 Chu·Fan
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

_config.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/.vuepress/config.js

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
1-
/*
2-
* @Description: 全局配置
3-
* 参考:https://v2.vuepress.vuejs.org/zh/reference/default-theme/config.html#locales
4-
* @Version: Beta1.0
5-
* @Author: 【B站&公众号】Rong姐姐好可爱
6-
* @Date: 2021-01-19 08:04:19
7-
* @LastEditors: 【B站&公众号】Rong姐姐好可爱
8-
* @LastEditTime: 2022-04-24 09:22:25
9-
*/
10-
const {defaultTheme} = require("vuepress");
11-
const {path} = require("@vuepress/utils");
12-
module.exports = {
13-
// 自定义主题
14-
theme: path.resolve(__dirname, './theme'),
1+
import {defaultTheme} from "vuepress";
2+
3+
export default {
154
title: "凡是过往、皆为序章",
165
description: "一本有趣的JavaScript合集",
176
// base: "/JavaScriptCollection/",
@@ -40,7 +29,6 @@ module.exports = {
4029
search: true,
4130
searchMaxSuggestions: 10,
4231
}),
43-
// themeConfig: ,
4432
plugins: [
4533
// 全文搜索 参考配置:https://github.com/vuepress/vuepress-next/blob/main/docs/.vuepress/config.ts
4634
// ['@vuepress/docsearch',

docs/.vuepress/config/navbar.js

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/*
2-
* @Description:
3-
* @Version: Beta1.0
4-
* @Author: 【B站&公众号】Rong姐姐好可爱
5-
* @Date: 2022-04-09 23:17:29
6-
* @LastEditors: 【B站&公众号】Rong姐姐好可爱
7-
* @LastEditTime: 2022-04-22 09:28:06
8-
*/
91
module.exports = [
102
{
113
text: "首页",
@@ -214,28 +206,18 @@ module.exports = [
214206
children: [
215207
{
216208
text: "杭电OJ",
217-
link: "http://acm.hdu.edu.cn/",
209+
link: "https://acm.hdu.edu.cn/",
218210
},
219211
{
220212
text: "牛客网",
221213
link: "https://www.nowcoder.com/",
222214
},
223215
{
224-
text: "LeetCode",
216+
text: "力扣网",
225217
link: "https://leetcode-cn.com/",
226218
},
227219
],
228220
},
229-
// {
230-
// text: '刷题平台',
231-
// children: [
232-
// {
233-
// text: '牛客网', link: 'https://www.nowcoder.com/'
234-
// }, {
235-
// text: 'LeetCode', link: 'https://leetcode-cn.com/'
236-
// }
237-
// ]
238-
// },
239221
],
240222
},
241223
{

docs/.vuepress/config/navbar/index.js

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/*
2-
* @Description: 首页目录
3-
* @Version: Beta1.0
4-
* @Author: 【B站&公众号】Rong姐姐好可爱
5-
* @Date: 2022-04-09 23:17:29
6-
* @LastEditors: 【B站&公众号】Rong姐姐好可爱
7-
* @LastEditTime: 2022-04-24 09:23:17
8-
*/
91
module.exports = [
102
{
113
text: "首页",
@@ -156,10 +148,12 @@ module.exports = [
156148
link: "/mq",
157149
},
158150
{
159-
text: 'Kafka', link: '/'
151+
text: 'Kafka',
152+
link: '/'
160153
},
161154
{
162-
text: 'RocketMQ', link: '/'
155+
text: 'RocketMQ',
156+
link: '/'
163157
}
164158
],
165159
},

docs/.vuepress/config/sidebar.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
/*
2-
* @Description:
3-
* @Version: Beta1.0
4-
* @Author: 【B站&公众号】Rong姐姐好可爱
5-
* @Date: 2022-04-09 23:17:57
6-
* @LastEditors: 【B站&公众号】Rong姐姐好可爱
7-
* @LastEditTime: 2022-04-10 16:38:57
8-
*/
9-
10-
111
module.exports={
122
"/read-books":require("../../read-books/sidebar-content")
133
}
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
/*
2-
* @Description:
3-
* @Version: Beta1.0
4-
* @Author: 【B站&公众号】Rong姐姐好可爱
5-
* @Date: 2022-04-09 23:17:57
6-
* @LastEditors: 【B站&公众号】Rong姐姐好可爱
7-
* @LastEditTime: 2022-04-24 09:14:42
8-
*/
9-
10-
111
module.exports = {
122
"/read-books": require('../../../read-books/sidebar_content')
133
}

docs/.vuepress/config/sidebar/read-books-content.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
/*
2-
* @Description:
3-
* @Version: Beta1.0
4-
* @Author: 【B站&公众号】Rong姐姐好可爱
5-
* @Date: 2022-04-10 00:50:30
6-
* @LastEditors: 【B站&公众号】Rong姐姐好可爱
7-
* @LastEditTime: 2022-04-10 16:37:52
8-
*/
9-
101
module.exports = [
112
{
123
text: "Foo",

0 commit comments

Comments
 (0)