Skip to content

Commit

Permalink
使用gitbook发布翻译的结果到github page上。注意发布上去的是未完成版
Browse files Browse the repository at this point in the history
  • Loading branch information
spacewander committed Sep 25, 2014
1 parent 97cdf96 commit f1b3bf7
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin/*
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# 探索Flask (《Explore Flask》的中文译本)
# Flask之旅

《explore flask》中文翻译

欢迎来到本译本的生产地点!任何bug report和别的pull request都会受到热烈欢迎!不要犹豫!

Expand Down
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

gitbook build ./zh --output='./bin' --config ./zh/book.json
9 changes: 4 additions & 5 deletions zh/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@

This is the contents of the book.

* [1-前言](1-introduction.md)
* [2-代码约定](2-coding_conventions.md)
* [3-环境](3-environment.md)
* [4-组织你的项目](4-organizing_your_project.md)
* [](5-configuration.md)
* [前言](1-introduction.md)
* [代码约定](2-coding_conventions.md)
* [环境](3-environment.md)
* [组织你的项目](4-organizing_your_project.md)

45 changes: 45 additions & 0 deletions zh/book.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
// Folders to use for output
// Caution: it overrides the value from the command line
// It's not advised this option in the book.json
"output": null,

// Generator to use for building
// Caution: it overrides the value from the command line
// It's not advised this option in the book.json
"generator": "site",

// Book title and description (defaults are extracted from the README)
"title": "Flask之旅",
"description": "关于Flask的最佳实践",

// For ebook format, the extension to use for generation (default is detected from output extension)
// "epub", "pdf", "mobi"
// Caution: it overrides the value from the command line
// It's not advised this option in the book.json
"extension": null,

// Plugins list, can contain "-name" for removing default plugins
"plugins": [],

// Global configuration for plugins
"pluginsConfig": {
"fontSettings": {
"theme": "sepia",
"family": "sans",
"size": 2
}
},

// Links in template (null: default, false: remove, string: new value)
"links": {
// Sharing links
"sharing": {
"google": null,
"facebook": null,
"twitter": null,
"weibo": null,
"all": null
}
}
}

0 comments on commit f1b3bf7

Please sign in to comment.