🎉 初始化

This commit is contained in:
Zhang Peng 2017-11-14 17:39:25 +08:00
parent 9965aa352a
commit 59cc98e29c
7 changed files with 230 additions and 0 deletions

31
.editorconfig Normal file
View File

@ -0,0 +1,31 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# http://editorconfig.org
# 所有文件换行使用 Unix like 风格LFbat 文件使用 win 风格CRLF
# 缩进 java 4 个空格,其他所有文件 2 个空格
root = true
[*]
# Unix-style newlines with a newline ending every file
end_of_line = lf
# Change these settings to your own preference
indent_size = 2
indent_style = space
max_line_length = 120
# We recommend you to keep these unchanged
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.bat]
end_of_line = crlf
[*.java]
indent_size = 4
[*.md]
max_line_length = 0
trim_trailing_whitespace = false

75
.gitattributes vendored Normal file
View File

@ -0,0 +1,75 @@
* text=auto eol=lf
# plan text
*.txt text
*.java text
*.scala text
*.groovy text
*.gradle text
*.xml text
*.xsd text
*.tld text
*.yaml text
*.yml text
*.wsdd text
*.wsdl text
*.jsp text
*.jspf text
*.js text
*.jsx text
*.json text
*.css text
*.less text
*.sql text
*.properties text
# unix style
*.sh text eol=lf
# win style
*.bat text eol=crlf
# don't handle
*.der -text
*.jks -text
*.pfx -text
*.map -text
*.patch -text
*.dat -text
*.data -text
*.db -text
# binary
*.jar binary
*.war binary
*.zip binary
*.tar binary
*.tar.gz binary
*.gz binary
*.apk binary
*.bin binary
*.exe binary
# images
*.png binary
*.jpg binary
*.ico binary
*.gif binary
# medias
*.mp3 binary
*.swf binary
# fonts
*.eot binary
*.svg binary
*.ttf binary
*.woff binary
# others
*.pdf binary
*.doc binary
*.docx binary
*.xls binary
*.xlsx binary
*.xmind binary

26
.gitignore vendored Normal file
View File

@ -0,0 +1,26 @@
################ JAVASCRIPT ################
# dependencies
node_modules
# temp folders
build
dist
_book
_jsdoc
# temp files
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
bundle*.js
################ IDEA ################
.idea
*.iml
################ Eclipse ################
.classpath
.project

View File

@ -1,2 +1,3 @@
# linux-notes
:book: Linux 学习笔记。

70
book.json Normal file
View File

@ -0,0 +1,70 @@
{
"gitbook": "3.2.2",
"title": "linux-notes",
"description": "linux 学习笔记",
"author": "Zhang Peng",
"language": "zh-hans",
"root": "./docs",
"links": {
"sidebar": {
"linux-notes": "https://github.com/dunwu/linux-notes"
}
},
"plugins": [
"-lunr",
"-search",
"advanced-emoji@^0.2.2",
"anchor-navigation-ex@1.0.10",
"anchors@^0.7.1",
"edit-link@^2.0.2",
"expandable-chapters-small@^0.1.7",
"github@^2.0.0",
"search-plus@^0.0.11",
"simple-page-toc@^0.1.1",
"splitter@^0.0.8",
"tbfed-pagefooter@^0.0.1"
],
"pluginsConfig": {
"anchor-navigation-ex": {
"showLevel": false,
"associatedWithSummary": true,
"multipleH1": true,
"mode": "float",
"isRewritePageTitle": false,
"float": {
"showLevelIcon": false,
"level1Icon": "fa fa-hand-o-right",
"level2Icon": "fa fa-hand-o-right",
"level3Icon": "fa fa-hand-o-right"
},
"pageTop": {
"showLevelIcon": false,
"level1Icon": "fa fa-hand-o-right",
"level2Icon": "fa fa-hand-o-right",
"level3Icon": "fa fa-hand-o-right"
}
},
"edit-link": {
"base": "https://github.com/dunwu/linux-notes/blob/master/docs",
"label": "编辑此页面"
},
"github": {
"url": "https://github.com/dunwu"
},
"simple-page-toc": {
"maxDepth": 4,
"skipFirstH1": true
},
"sharing": {
"weibo": true,
"all": [
"weibo"
]
},
"tbfed-pagefooter": {
"copyright": "Copyright © Zhang Peng 2017",
"modify_label": "该文件上次修订时间:",
"modify_format": "YYYY-MM-DD HH:mm:ss"
}
}
}

3
docs/README.md Normal file
View File

@ -0,0 +1,3 @@
# linux-notes
:book: Linux 学习笔记。

24
package.json Normal file
View File

@ -0,0 +1,24 @@
{
"name": "linux-notes",
"description": "linux 学习笔记",
"scripts": {
"clean": "rimraf _book",
"prepare": "gitbook install",
"build": "gitbook build ./ --log=debug --debug",
"start": "gitbook serve"
},
"repository": {
"type": "git",
"url": "https://github.com/dunwu/linux-notes.git"
},
"author": "Zhang Peng",
"license": "Apache 2.0",
"bugs": {
"url": "https://github.com/dunwu/linux-notes/issues"
},
"homepage": "https://github.com/dunwu/linux-notes",
"devDependencies": {
"gitbook-cli": "^2.3.2",
"rimraf": "^2.3.4"
}
}