Skip to content

Commit f332d79

Browse files
author
Zhang Peng
committed
🎉 Initial gitbook.
1 parent 949842d commit f332d79

7 files changed

Lines changed: 916 additions & 1 deletion

File tree

GLOSSARY.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## GitBook
2+
GitBook 是一个基于 Node.js 的命令行工具,可使用 Github/Git 和 Markdown 来制作精美的电子书,GitBook 并非关于 Git 的教程。
3+
4+
## Markdown
5+
Markdown是一种可以使用普通文本编辑器编写的标记语言,通过简单的标记语法,它可以使普通文本内容具有一定的格式。

README.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,35 @@
11
# db-notes
2-
个人的数据库学习笔记
2+
3+
:books: 个人的数据库学习笔记。
4+
5+
## :memo: 内容
6+
7+
暂定计划为:完善所有本人使用过的 DB 的笔记:
8+
9+
**关系型数据库**
10+
- [ ] Mysql
11+
- [ ] Oracle
12+
- [ ] H2
13+
- [ ] Sqlite
14+
15+
**非关系型数据库**
16+
- [ ] MongoDB
17+
- [ ] Redis
18+
19+
20+
## :pushpin: 说明
21+
22+
本项目的文档按照 gitbook 规范编写,可以直接生成一个 gitbook 电子书站点。
23+
24+
如果想使用 gitbook 以取得更好的阅读效果,按以下步骤执行命令即可:
25+
26+
```bash
27+
# 1. 安装 gitbook-cli
28+
$ npm install -g gitbook-cli
29+
# 2. 安装 gitbook 各种依赖插件
30+
$ gitbook install
31+
# 3. 启动本地的 gitbook 电子书站点
32+
$ gitbook serve
33+
```
34+
35+
启动成功后,访问 http://localhost:4000 即可看到电子书了。

SUMMARY.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Summary
2+
3+
## 简介
4+
5+
* [简介](README.md)
6+
7+
## sql 教程
8+
9+
* [sql语言基本语法](docs/sql/sql语言基本语法.md)
10+
* [sql约束](docs/sql/sql约束.md)
11+
12+
------
13+
14+
* [术语](GLOSSARY.md)

book.json

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
{
2+
"gitbook": "3.2.2",
3+
"title": "SqlNotes",
4+
"description": "个人的 sql 学习笔记",
5+
"author": "Zhang Peng",
6+
"language": "zh-hans",
7+
"links": {
8+
"sidebar": {
9+
"SqlNotes": "https://github.com/atlantis1024/SqlNotes"
10+
}
11+
},
12+
"plugins": [
13+
"-highlight",
14+
"-livereload",
15+
"-lunr",
16+
"-search",
17+
"advanced-emoji@^0.2.2",
18+
"anchor-navigation-ex@0.1.8",
19+
"anchors@^0.7.1",
20+
"disqus@^0.1.0",
21+
"edit-link@^2.0.2",
22+
"emphasize@^1.1.0",
23+
"expandable-chapters-small@^0.1.7",
24+
"favicon@^0.0.2",
25+
"github@^2.0.0",
26+
"include-codeblock@^3.0.2",
27+
"ace@^0.3.2",
28+
"katex@^1.1.3",
29+
"local-video@^1.0.1",
30+
"prism@^2.1.0",
31+
"prism-themes@^0.0.2",
32+
"search-plus@^0.0.11",
33+
"sectionx@^3.1.0",
34+
"simple-page-toc@^0.1.1",
35+
"sitemap-general@^0.1.1",
36+
"splitter@^0.0.8",
37+
"tbfed-pagefooter@^0.0.1",
38+
"todo@^0.1.3"
39+
],
40+
"pluginsConfig": {
41+
"anchor-navigation-ex": {
42+
"showLevel": false,
43+
"associatedWithSummary": true,
44+
"isRewritePageTitle": false,
45+
"float": {
46+
"showLevelIcon": false,
47+
"level1Icon": "fa fa-hand-o-right",
48+
"level2Icon": "fa fa-hand-o-right",
49+
"level3Icon": "fa fa-hand-o-right"
50+
},
51+
"pageTop": {
52+
"showLevelIcon": false,
53+
"level1Icon": "fa fa-hand-o-right",
54+
"level2Icon": "fa fa-hand-o-right",
55+
"level3Icon": "fa fa-hand-o-right"
56+
}
57+
},
58+
"disqus": {
59+
"shortName": "SqlNotes"
60+
},
61+
"edit-link": {
62+
"base": "https://github.com/atlantis1024/SqlNotes/blob/master",
63+
"label": "编辑此页面"
64+
},
65+
"favicon": {
66+
"shortcut": "assets/images/folder.ico",
67+
"bookmark": "assets/images/folder.ico"
68+
},
69+
"github": {
70+
"url": "https://github.com/atlantis1024/SqlNotes"
71+
},
72+
"include-codeblock": {
73+
"template": "ace",
74+
"unindent": true,
75+
"edit": true
76+
},
77+
"sectionx": {
78+
"tag": "b"
79+
},
80+
"simple-page-toc": {
81+
"maxDepth": 4,
82+
"skipFirstH1": true
83+
},
84+
"sitemap-general": {
85+
"prefix": "https://github.com/atlantis1024/SqlNotes"
86+
},
87+
"sharing": {
88+
"weibo": true,
89+
"facebook": true,
90+
"twitter": true,
91+
"google": false,
92+
"instapaper": false,
93+
"vk": false,
94+
"all": [
95+
"facebook",
96+
"google",
97+
"twitter",
98+
"weibo",
99+
"instapaper"
100+
]
101+
},
102+
"theme-default": {
103+
"showLevel": true
104+
},
105+
"tbfed-pagefooter": {
106+
"copyright": "Copyright © Zhang Peng 2017",
107+
"modify_label": "该文件上次修订时间:",
108+
"modify_format": "YYYY-MM-DD HH:mm:ss"
109+
}
110+
}
111+
}

docs/Sql.xmind

338 KB
Binary file not shown.

0 commit comments

Comments
 (0)