Closed azu closed 9 years ago
https://github.com/azu/promises-book Promise本の場合は文章とコードは章でまとめてた。 i18n対応が難しい感じがあった。
で細かく書いてた
現在
.
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── SUMMARY.md
├── book.json
├── content
│ ├── introduction
│ └── jQuery
└── package.json
各章ごとにsrc
と.md
を持つのは正しいと思う。
i18n化した時にそこはi18nするべきであると考えられるから。
srcを章以下に置きたい理由はincludeするため
他のもの、test、package.jsonなどはプロジェクト全体の共有資源とかんがえるのが良いのかもしれない。
.
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── SUMMARY.md
├── book.json
├── content
│ ├── introduction
│ └── jQuery
├── test
│ ├── introduction
│ └── jQuery
└── package.json
i18n化した時が美味しくない感じがする。
.
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── SUMMARY.md
├── book.json
├── content
│ ├── src
│ └── ja
│ ├── introduction
│ └── jQuery
├── test
│ ├── introduction
│ └── jQuery
└── package.json
.
├── CONTRIBUTING.md
├── LICENSE
├── README.md
├── SUMMARY.md
├── book.json
├── src
├── ja
│ ├── introduction
│ └── jQuery
├── test
│ ├── introduction
│ └── jQuery
└── package.json
とするのが http://help.gitbook.com/format/languages.html に も対応できるので妥当…
srcのコメントは英語でできるだけ国際化するというのが妥当な感じが
GitBookのlocalはなんかjpだけど、正直訳の質がよくないのであえて乗る必要がなさそう
Gitbook推奨のプロジェクト構造があるのか調べる。
課題