Skip to content

Commit 258eee5

Browse files
committed
docs: 更新文档
1 parent 7af39e0 commit 258eee5

File tree

84 files changed

+458
-435
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+458
-435
lines changed

README.md

+62-62
Large diffs are not rendered by default.

docs/.vuepress/config.js

+10-10
Original file line numberDiff line numberDiff line change
@@ -25,30 +25,30 @@ module.exports = {
2525
// 主题配置
2626
themeConfig: {
2727
nav: [
28-
{ text: '数据库综合', link: '/01.计算机科学/02.数据库/01.数据库综合/' },
29-
{ text: '数据库中间件', link: '/01.计算机科学/02.数据库/02.数据库中间件/' },
28+
{ text: '数据库综合', link: '/12.数据库/01.数据库综合/' },
29+
{ text: '数据库中间件', link: '/12.数据库/02.数据库中间件/' },
3030
{
3131
text: '关系型数据库',
32-
link: '/01.计算机科学/02.数据库/03.关系型数据库/',
32+
link: '/12.数据库/03.关系型数据库/',
3333
items: [
34-
{ text: '综合', link: '/01.计算机科学/02.数据库/03.关系型数据库/01.综合/' },
35-
{ text: 'Mysql', link: '/01.计算机科学/02.数据库/03.关系型数据库/02.Mysql/' },
36-
{ text: '其他', link: '/01.计算机科学/02.数据库/03.关系型数据库/99.其他/' }
34+
{ text: '综合', link: '/12.数据库/03.关系型数据库/01.综合/' },
35+
{ text: 'Mysql', link: '/12.数据库/03.关系型数据库/02.Mysql/' },
36+
{ text: '其他', link: '/12.数据库/03.关系型数据库/99.其他/' }
3737
]
3838
},
3939
{
4040
text: '文档数据库',
41-
items: [{ text: 'MongoDB', link: '/01.计算机科学/02.数据库/04.文档数据库/01.MongoDB/' }]
41+
items: [{ text: 'MongoDB', link: '/12.数据库/04.文档数据库/01.MongoDB/' }]
4242
},
4343
{
4444
text: 'KV数据库',
45-
items: [{ text: 'Redis', link: '/01.计算机科学/02.数据库/05.KV数据库/01.Redis/' }]
45+
items: [{ text: 'Redis', link: '/12.数据库/05.KV数据库/01.Redis/' }]
4646
},
4747
{
4848
text: '搜索引擎数据库',
4949
items: [
50-
{ text: 'Elasticsearch', link: '/01.计算机科学/02.数据库/07.搜索引擎数据库/01.Elasticsearch/' },
51-
{ text: 'Elastic技术栈', link: '/01.计算机科学/02.数据库/07.搜索引擎数据库/02.Elastic/' }
50+
{ text: 'Elasticsearch', link: '/12.数据库/07.搜索引擎数据库/01.Elasticsearch/' },
51+
{ text: 'Elastic技术栈', link: '/12.数据库/07.搜索引擎数据库/02.Elastic/' }
5252
]
5353
}
5454
],

docs/.vuepress/config/baiduCode.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = '';
1+
module.exports = ''

docs/.vuepress/config/htmlModules.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = {
3838
display: none;
3939
}
4040
</style>
41-
`,
41+
`
4242
}
4343

4444
// module.exports = {

docs/.vuepress/plugins/love-me/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ const LoveMyPlugin = (options = {}) => ({
77
const EXCLUDECLASS = options.excludeClassName || ''
88
return { COLOR, EXCLUDECLASS }
99
},
10-
enhanceAppFiles: [path.resolve(__dirname, 'love-me.js')],
10+
enhanceAppFiles: [path.resolve(__dirname, 'love-me.js')]
1111
})
1212
module.exports = LoveMyPlugin
+81-54
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,89 @@
11
export default () => {
2-
if (typeof window !== "undefined") {
3-
(function(e, t, a) {
4-
function r() {
5-
for (var e = 0; e < s.length; e++) s[e].alpha <= 0 ? (t.body.removeChild(s[e].el), s.splice(e, 1)) : (s[e].y--, s[e].scale += .004, s[e].alpha -= .013, s[e].el.style.cssText = "left:" + s[e].x + "px;top:" + s[e].y + "px;opacity:" + s[e].alpha + ";transform:scale(" + s[e].scale + "," + s[e].scale + ") rotate(45deg);background:" + s[e].color + ";z-index:99999");
6-
requestAnimationFrame(r)
7-
}
8-
function n() {
9-
var t = "function" == typeof e.onclick && e.onclick;
10-
11-
e.onclick = function(e) {
12-
// 过滤指定元素
13-
let mark = true;
14-
EXCLUDECLASS && e.path && e.path.forEach((item) =>{
15-
if(item.nodeType === 1) {
16-
typeof item.className === 'string' && item.className.indexOf(EXCLUDECLASS) > -1 ? mark = false : ''
17-
}
18-
})
19-
20-
if(mark) {
21-
t && t(),
22-
o(e)
2+
if (typeof window !== 'undefined') {
3+
;(function (e, t, a) {
4+
function r() {
5+
for (var e = 0; e < s.length; e++)
6+
s[e].alpha <= 0
7+
? (t.body.removeChild(s[e].el), s.splice(e, 1))
8+
: (s[e].y--,
9+
(s[e].scale += 0.004),
10+
(s[e].alpha -= 0.013),
11+
(s[e].el.style.cssText =
12+
'left:' +
13+
s[e].x +
14+
'px;top:' +
15+
s[e].y +
16+
'px;opacity:' +
17+
s[e].alpha +
18+
';transform:scale(' +
19+
s[e].scale +
20+
',' +
21+
s[e].scale +
22+
') rotate(45deg);background:' +
23+
s[e].color +
24+
';z-index:99999'))
25+
requestAnimationFrame(r)
26+
}
27+
function n() {
28+
var t = 'function' == typeof e.onclick && e.onclick
29+
30+
e.onclick = function (e) {
31+
// 过滤指定元素
32+
let mark = true
33+
EXCLUDECLASS &&
34+
e.path &&
35+
e.path.forEach((item) => {
36+
if (item.nodeType === 1) {
37+
typeof item.className === 'string' && item.className.indexOf(EXCLUDECLASS) > -1 ? (mark = false) : ''
2338
}
24-
}
25-
}
26-
function o(e) {
27-
var a = t.createElement("div");
28-
a.className = "heart",
29-
s.push({
30-
el: a,
31-
x: e.clientX - 5,
32-
y: e.clientY - 5,
33-
scale: 1,
34-
alpha: 1,
35-
color: COLOR
36-
}),
37-
t.body.appendChild(a)
39+
})
40+
41+
if (mark) {
42+
t && t(), o(e)
43+
}
3844
}
39-
function i(e) {
40-
var a = t.createElement("style");
41-
a.type = "text/css";
42-
try {
43-
a.appendChild(t.createTextNode(e))
44-
} catch(t) {
45-
a.styleSheet.cssText = e
46-
}
47-
t.getElementsByTagName("head")[0].appendChild(a)
45+
}
46+
function o(e) {
47+
var a = t.createElement('div')
48+
;(a.className = 'heart'),
49+
s.push({
50+
el: a,
51+
x: e.clientX - 5,
52+
y: e.clientY - 5,
53+
scale: 1,
54+
alpha: 1,
55+
color: COLOR
56+
}),
57+
t.body.appendChild(a)
58+
}
59+
function i(e) {
60+
var a = t.createElement('style')
61+
a.type = 'text/css'
62+
try {
63+
a.appendChild(t.createTextNode(e))
64+
} catch (t) {
65+
a.styleSheet.cssText = e
4866
}
49-
// function c() {
50-
// return "rgb(" + ~~ (255 * Math.random()) + "," + ~~ (255 * Math.random()) + "," + ~~ (255 * Math.random()) + ")"
51-
// }
52-
var s = [];
53-
e.requestAnimationFrame = e.requestAnimationFrame || e.webkitRequestAnimationFrame || e.mozRequestAnimationFrame || e.oRequestAnimationFrame || e.msRequestAnimationFrame ||
54-
function(e) {
55-
setTimeout(e, 1e3 / 60)
56-
},
57-
i(".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}"),
67+
t.getElementsByTagName('head')[0].appendChild(a)
68+
}
69+
// function c() {
70+
// return "rgb(" + ~~ (255 * Math.random()) + "," + ~~ (255 * Math.random()) + "," + ~~ (255 * Math.random()) + ")"
71+
// }
72+
var s = []
73+
;(e.requestAnimationFrame =
74+
e.requestAnimationFrame ||
75+
e.webkitRequestAnimationFrame ||
76+
e.mozRequestAnimationFrame ||
77+
e.oRequestAnimationFrame ||
78+
e.msRequestAnimationFrame ||
79+
function (e) {
80+
setTimeout(e, 1e3 / 60)
81+
}),
82+
i(
83+
".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 50%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}"
84+
),
5885
n(),
5986
r()
6087
})(window, document)
6188
}
62-
}
89+
}

docs/.vuepress/public/markmap/01.html

+110-22
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,113 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7-
<title>Markmap</title>
8-
<style>
9-
* {
10-
margin: 0;
11-
padding: 0;
12-
}
13-
#mindmap {
14-
display: block;
15-
width: 100vw;
16-
height: 100vh;
17-
}
18-
</style>
19-
20-
</head>
21-
<body>
22-
<svg id="mindmap"></svg>
23-
<script src="https://cdn.jsdelivr.net/npm/d3@5"></script><script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/browser/view.min.js"></script><script>((a,t,e,n)=>{const{Markmap:s,loadPlugins:o}=window.markmap;(t?t(o,e,n):Promise.resolve()).then(()=>{window.mm=s.create("svg#mindmap",null,a)})})({"t":"heading","d":1,"p":{},"v":"markmap-lib","c":[{"t":"heading","d":2,"p":{},"v":"Links","c":[{"t":"list_item","d":3,"p":{},"v":"<a href=\"https://markmap.js.org/\" target=\"_blank\" rel=\"noopener noreferrer\">https://markmap.js.org/</a>"},{"t":"list_item","d":3,"p":{},"v":"<a href=\"https://github.com/gera2ld/markmap-lib\" title=\"\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub</a>"}]},{"t":"heading","d":2,"p":{},"v":"Related","c":[{"t":"list_item","d":3,"p":{},"v":"<a href=\"https://github.com/gera2ld/coc-markmap\" title=\"\" target=\"_blank\" rel=\"noopener noreferrer\">coc-markmap</a>"},{"t":"list_item","d":3,"p":{},"v":"<a href=\"https://github.com/gera2ld/gatsby-remark-markmap\" title=\"\" target=\"_blank\" rel=\"noopener noreferrer\">gatsby-remark-markmap</a>"}]},{"t":"heading","d":2,"p":{},"v":"Features","c":[{"t":"list_item","d":3,"p":{},"v":"links"},{"t":"list_item","d":3,"p":{},"v":"<strong>inline</strong> <del>text</del> <em>styles</em>"},{"t":"list_item","d":3,"p":{},"v":"multiline<br/>text"},{"t":"list_item","d":3,"p":{},"v":"<code>inline code</code>"},{"t":"list_item","d":3,"p":{},"v":"<pre><code class=\"language-js\">console.log('code block');\n</code></pre>"},{"t":"list_item","d":3,"p":{},"v":"MathJax - <code>\\(x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}\\)</code>"}]}]},(a,t,e)=>a(t,e),["mathJax","prism"],{"mathJax":true,"prism":true})</script>
24-
</body>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
7+
<title>Markmap</title>
8+
<style>
9+
* {
10+
margin: 0;
11+
padding: 0;
12+
}
13+
#mindmap {
14+
display: block;
15+
width: 100vw;
16+
height: 100vh;
17+
}
18+
</style>
19+
</head>
20+
<body>
21+
<svg id="mindmap"></svg>
22+
<script src="https://cdn.jsdelivr.net/npm/d3@5"></script>
23+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/browser/view.min.js"></script>
24+
<script>
25+
;((a, t, e, n) => {
26+
const { Markmap: s, loadPlugins: o } = window.markmap
27+
;(t ? t(o, e, n) : Promise.resolve()).then(() => {
28+
window.mm = s.create('svg#mindmap', null, a)
29+
})
30+
})(
31+
{
32+
t: 'heading',
33+
d: 1,
34+
p: {},
35+
v: 'markmap-lib',
36+
c: [
37+
{
38+
t: 'heading',
39+
d: 2,
40+
p: {},
41+
v: 'Links',
42+
c: [
43+
{
44+
t: 'list_item',
45+
d: 3,
46+
p: {},
47+
v:
48+
'<a href="https://markmap.js.org/" target="_blank" rel="noopener noreferrer">https://markmap.js.org/</a>'
49+
},
50+
{
51+
t: 'list_item',
52+
d: 3,
53+
p: {},
54+
v:
55+
'<a href="https://github.com/gera2ld/markmap-lib" title="" target="_blank" rel="noopener noreferrer">GitHub</a>'
56+
}
57+
]
58+
},
59+
{
60+
t: 'heading',
61+
d: 2,
62+
p: {},
63+
v: 'Related',
64+
c: [
65+
{
66+
t: 'list_item',
67+
d: 3,
68+
p: {},
69+
v:
70+
'<a href="https://github.com/gera2ld/coc-markmap" title="" target="_blank" rel="noopener noreferrer">coc-markmap</a>'
71+
},
72+
{
73+
t: 'list_item',
74+
d: 3,
75+
p: {},
76+
v:
77+
'<a href="https://github.com/gera2ld/gatsby-remark-markmap" title="" target="_blank" rel="noopener noreferrer">gatsby-remark-markmap</a>'
78+
}
79+
]
80+
},
81+
{
82+
t: 'heading',
83+
d: 2,
84+
p: {},
85+
v: 'Features',
86+
c: [
87+
{ t: 'list_item', d: 3, p: {}, v: 'links' },
88+
{ t: 'list_item', d: 3, p: {}, v: '<strong>inline</strong> <del>text</del> <em>styles</em>' },
89+
{ t: 'list_item', d: 3, p: {}, v: 'multiline<br/>text' },
90+
{ t: 'list_item', d: 3, p: {}, v: '<code>inline code</code>' },
91+
{
92+
t: 'list_item',
93+
d: 3,
94+
p: {},
95+
v: '<pre><code class="language-js">console.log(\'code block\');\n</code></pre>'
96+
},
97+
{
98+
t: 'list_item',
99+
d: 3,
100+
p: {},
101+
v: 'MathJax - <code>\\(x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}\\)</code>'
102+
}
103+
]
104+
}
105+
]
106+
},
107+
(a, t, e) => a(t, e),
108+
['mathJax', 'prism'],
109+
{ mathJax: true, prism: true }
110+
)
111+
</script>
112+
</body>
25113
</html>

docs/01.计算机科学/02.数据库/01.数据库综合/README.md

-44
This file was deleted.

docs/01.计算机科学/02.数据库/01.数据库综合/01.Nosql技术选型.md renamed to docs/12.数据库/01.数据库综合/01.Nosql技术选型.md

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Nosql技术选型
33
date: 2020-02-09 02:18:58
44
categories:
5-
- 计算机科学
65
- 数据库
76
- 数据库综合
87
tags:

0 commit comments

Comments
 (0)