|
1 |
| -# Vim 正體中文社群 |
| 1 | +# Vim 正體中文社官方網站 |
2 | 2 |
|
3 |
| -討論及分享 Vim 相關技巧的小圈圈,請儘量使用正體中文發言,謝謝。 |
| 3 | +討論及分享 Vim 相關技巧的小圈圈,請儘量使用正體中文發言,詳情請參考 [http://vim-tw.github.io](http://vim-tw.github.io)。 |
4 | 4 |
|
5 |
| -## 聯繫管道 |
| 5 | +聯繫管道: |
6 | 6 |
|
7 |
| -* Telegram 群組聊天室: https://telegram.me/joinchat/CPYvygKUxvnd8xrGsW26MA |
8 |
| -* Mail list: https://groups.google.com/forum/?fromgroups#!forum/vim-taiwan |
| 7 | +* Telegram 群組聊天室: [https://telegram.me/joinchat/CPYvygKUxvnd8xrGsW26MA](https://telegram.me/joinchat/CPYvygKUxvnd8xrGsW26MA) |
| 8 | +* Mail list: [https://groups.google.com/forum/?fromgroups#!forum/vim-taiwan](https://groups.google.com/forum/?fromgroups#!forum/vim-taiwan) |
9 | 9 | * IRC: vim-tw@irc.freenode.net
|
10 | 10 |
|
11 |
| -## 相關連結 |
| 11 | +## 如何在本機 (localhost) 建置 vim-tw.github.io |
12 | 12 |
|
13 |
| -* Facebook 社團: https://www.facebook.com/groups/vim.tw/ |
14 |
| -* Vim Taiwan @ GitHub - https://github.com/vim-tw |
15 |
| -* @be_vimmer_tw - https://twitter.com/be_vimmer_tw |
16 |
| -* Vim 推廣貼紙 - https://gist.github.com/chusiang/b608909bccff6ed62eb7 |
17 |
| - |
18 |
| ----- |
| 13 | +1. 安裝 Ruby 套件。 |
19 | 14 |
|
20 |
| -Coypright © from 2015 Vim Taiwan CC BY-NC 2.5 TW. |
| 15 | + $ gem install bundler github-pages |
| 16 | + |
| 17 | +2. 執行 server。 |
| 18 | + |
| 19 | + $ jekyll serve |
| 20 | + Configuration file: /Users/vimmer/vcs/vim-tw.github.io/_config.yml |
| 21 | + Source: /Users/vimmer/vcs/vim-tw.github.io |
| 22 | + Destination: /Users/vimmer/vcs/vim-tw.github.io/_site |
| 23 | + Generating... |
| 24 | + done. |
| 25 | + Auto-regeneration: enabled for '/Users/vimmer/vcs/vim-tw.github.io' |
| 26 | + Configuration file: /Users/vimmer/vcs/vim-tw.github.io/_config.yml |
| 27 | + Server address: http://0.0.0.0:4000/ |
| 28 | + Server running... press ctrl-c to stop. |
| 29 | + |
| 30 | +### 程式架構 (Architecture) |
| 31 | + |
| 32 | +若需新增其它頁面,只需於根目錄下新增 foo.md 或 foo.html 即可,(README.md 例外,請參考 _config.yml 裡的第一行 `exclude: [README.md]`)。 |
| 33 | + |
| 34 | + $ tree |
| 35 | + . |
| 36 | + ├── LICENSE |
| 37 | + ├── README.md |
| 38 | + ├── _config.yml |
| 39 | + ├── _layouts |
| 40 | + │ └── default.html |
| 41 | + ├── _sass |
| 42 | + │ └── variable.scss |
| 43 | + ├── _site |
| 44 | + │ ├── LICENSE |
| 45 | + │ ├── index.html |
| 46 | + │ └── style.css |
| 47 | + ├── index.md |
| 48 | + └── style.scss |
| 49 | + |
| 50 | + 3 directories, 10 files |
| 51 | + |
| 52 | +## 授權 (LICENSE) |
| 53 | + |
| 54 | +Coypleft (ɔ) from 2015 Vim Taiwan CC BY-NC 2.5 TW. |
0 commit comments