Skip to content

Commit de8c0bb

Browse files
committed
update docs
1 parent f02355c commit de8c0bb

File tree

15 files changed

+1257
-192
lines changed

15 files changed

+1257
-192
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,11 @@
8787
- [HBase Java API](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/hbase-api.md)
8888
- [HBase 配置](https://github.com/dunwu/bigdata-tutorial/blob/master/docs/hbase/hbase-ops.md)
8989

90-
#### MongoDB
90+
#### [MongoDB](docs/nosql/mongodb) 📚
9191

9292
- [MongoDB 应用指南](docs/nosql/mongodb/mongodb-quickstart.md)
93+
- [MongoDB 建模](docs/nosql/mongodb/mongodb-model.md)
94+
- [MongoDB 建模示例](docs/nosql/mongodb/mongodb-model-example.md)
9395
- [MongoDB 运维](docs/nosql/mongodb/mongodb-ops.md)
9496

9597
### 中间件

codes/javadb/javadb-mysql/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
<?xml version="1.0"?>
2-
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4-
xmlns="http://maven.apache.org/POM/4.0.0">
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
54
<modelVersion>4.0.0</modelVersion>
65

76
<parent>
87
<groupId>org.springframework.boot</groupId>
98
<artifactId>spring-boot-starter-parent</artifactId>
109
<version>2.3.3.RELEASE</version>
10+
<relativePath />
1111
</parent>
1212

1313
<groupId>io.github.dunwu</groupId>
@@ -35,7 +35,7 @@
3535
<dependency>
3636
<groupId>mysql</groupId>
3737
<artifactId>mysql-connector-java</artifactId>
38-
<version>5.1.45</version>
38+
<version>8.0.21</version>
3939
</dependency>
4040
<dependency>
4141
<groupId>org.apache.commons</groupId>

docs/.markdownlint.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@
1313
"MD036": false,
1414
"fenced-code-language": false,
1515
"no-hard-tabs": false,
16-
"whitespace": false,
17-
"emphasis-style": { "style": "consistent" }
16+
"whitespace": false
1817
}

docs/.vuepress/config.js

Lines changed: 87 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -2,48 +2,98 @@
22
* @see https://vuepress.vuejs.org/zh/
33
*/
44
module.exports = {
5-
port: "4000",
6-
dest: "dist",
7-
base: "/db-tutorial/",
8-
title: "DB-TUTORIAL",
9-
description: "数据库教程",
10-
head: [["link", {rel: "icon", href: `/favicon.ico`}]],
5+
port: '4000',
6+
dest: 'dist',
7+
base: '/db-tutorial/',
8+
title: 'DB-TUTORIAL',
9+
description: '数据库教程',
10+
head: [['link', { rel: 'icon', href: `/favicon.ico` }]],
1111
markdown: {
1212
externalLinks: {
13-
target: "_blank", rel: "noopener noreferrer"
14-
}
13+
target: '_blank',
14+
rel: 'noopener noreferrer',
15+
},
1516
},
1617
themeConfig: {
17-
logo: "images/dunwu-logo-100.png",
18-
repo: "dunwu/db-tutorial",
19-
repoLabel: "Github",
20-
docsDir: "docs",
21-
docsBranch: "master",
18+
logo: 'images/dunwu-logo-100.png',
19+
repo: 'dunwu/db-tutorial',
20+
repoLabel: 'Github',
21+
docsDir: 'docs',
22+
docsBranch: 'master',
2223
editLinks: true,
2324
smoothScroll: true,
2425
locales: {
25-
"/": {
26-
label: "简体中文", selectText: "Languages", editLinkText: "帮助我们改善此页面!", lastUpdated: "上次更新", nav: [{
27-
text: "SQL", link: "/sql/"
28-
}, {
29-
text: "NOSQL", link: "/nosql/"
30-
}, {
31-
text: "Mysql", link: "/sql/mysql/"
32-
}, {
33-
text: "Redis", link: "/nosql/redis/"
34-
}, {
35-
text: "🎯 博客", link: "https://github.com/dunwu/blog", target: "_blank", rel: ""
36-
}], sidebar: "auto", sidebarDepth: 2
37-
}
38-
}
26+
'/': {
27+
label: '简体中文',
28+
selectText: 'Languages',
29+
editLinkText: '帮助我们改善此页面!',
30+
lastUpdated: '上次更新',
31+
nav: [
32+
{
33+
text: 'SQL',
34+
link: '/sql/',
35+
},
36+
{
37+
text: 'NOSQL',
38+
link: '/nosql/',
39+
},
40+
{
41+
text: 'Mysql',
42+
link: '/sql/mysql/',
43+
},
44+
{
45+
text: 'Redis',
46+
link: '/nosql/redis/',
47+
},
48+
{
49+
text: 'MongoDB',
50+
link: '/nosql/mongodb/',
51+
},
52+
{
53+
text: '🎯 博客',
54+
link: 'https://github.com/dunwu/blog',
55+
target: '_blank',
56+
rel: '',
57+
},
58+
],
59+
sidebar: 'auto',
60+
sidebarDepth: 2,
61+
},
62+
},
3963
},
40-
plugins: [["@vuepress/active-header-links", {
41-
sidebarLinkSelector: ".sidebar-link", headerAnchorSelector: ".header-anchor"
42-
}], ["@vuepress/back-to-top", true], ["@vuepress/pwa", {
43-
serviceWorker: true, updatePopup: true
44-
}], ["@vuepress/medium-zoom", true], ["container", {
45-
type: "vue", before: '<pre class="vue-container"><code>', after: "</code></pre>"
46-
}], ["container", {
47-
type: "upgrade", before: info => `<UpgradePath title="${info}">`, after: "</UpgradePath>"
48-
}], ["flowchart"]]
49-
};
64+
plugins: [
65+
[
66+
'@vuepress/active-header-links',
67+
{
68+
sidebarLinkSelector: '.sidebar-link',
69+
headerAnchorSelector: '.header-anchor',
70+
},
71+
],
72+
['@vuepress/back-to-top', true],
73+
[
74+
'@vuepress/pwa',
75+
{
76+
serviceWorker: true,
77+
updatePopup: true,
78+
},
79+
],
80+
['@vuepress/medium-zoom', true],
81+
[
82+
'container',
83+
{
84+
type: 'vue',
85+
before: '<pre class="vue-container"><code>',
86+
after: '</code></pre>',
87+
},
88+
],
89+
[
90+
'container',
91+
{
92+
type: 'upgrade',
93+
before: (info) => `<UpgradePath title="${info}">`,
94+
after: '</UpgradePath>',
95+
},
96+
],
97+
['flowchart'],
98+
],
99+
}

docs/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,11 @@ footer: CC-BY-SA-4.0 Licensed | Copyright © 2018-Now Dunwu
9090

9191
#### MongoDB
9292

93+
> [MongoDB](nosql/mongodb) 📚
94+
9395
- [MongoDB 应用指南](nosql/mongodb/mongodb-quickstart.md)
96+
- [MongoDB 建模](nosql/mongodb/mongodb-model.md)
97+
- [MongoDB 建模示例](nosql/mongodb/mongodb-model-example.md)
9498
- [MongoDB 运维](nosql/mongodb/mongodb-ops.md)
9599

96100
### 中间件

docs/nosql/elasticsearch/elasticsearch-interview.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Elasticsearch 面试
2+
13
## 集群部署
24

35
ES 部署情况:

docs/nosql/mongodb/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
### [MongoDB 建模](mongodb-model.md)
88

9+
### [MongoDB 建模示例](mongodb-model-example.md)
10+
911
### [MongoDB 运维](mongodb-ops.md)
1012

1113
## 📚 资料
@@ -17,6 +19,8 @@
1719
- **教程**
1820
- [MongoDB 教程](https://www.runoob.com/mongodb/mongodb-tutorial.html)
1921
- [MongoDB 高手课](https://time.geekbang.org/course/intro/100040001)
22+
- **数据**
23+
- [mongodb-json-files](https://github.com/ozlerhakan/mongodb-json-files)
2024

2125
## 🚪 传送
2226

0 commit comments

Comments
 (0)