/promises-book

JavaScript Promiseの本

Primary LanguageJavaScriptMIT LicenseMIT

Promises Book Build Status Gitter chat

Promisesについての薄い電子書籍です

http://azu.github.io/promises-book/ から閲覧することが出来ます。

http://azu.github.io/promises-book/javascript-promise-book.pdf からPDF版をダウンロードすることが出来ます。

https://gumroad.com/l/javascript-promise からおまけのPDFを無料また任意の値段でダウンロードすることが出来ます。

寄付などがしたい方は、こちらを代用して下さい。

Installation

この書籍はAsciidocフォーマットで書かれています。

Asciidoctorでビルドすることが出来ます。

HTMLのビルド

gem install asciidoctor coderay
npm install -g gulp
npm install
make html
open index.html

PDFのビルド

フォントにはVL Gothic Font Familyを使っています。 VL Gothic Font Familyからダウンロードしてインストールする必要があります。

必要なもの

git submodule update --init
make pdf
open javascript-promise-book.pdf

Epubのビルド

まだ完成度が高くないため品質はよくありません。 HTML版はスマートフォン等画面が小さくても見られるようになっているためそちらの利用を推奨します。

gem install specific_install
gem specific_install -l https://github.com/opendevise/asciidoctor-epub3
asciidoctor-epub3 -D output index.adoc

Contributing

Pull RequestやIssue等お気軽にどうぞ。

Gitter chat に書き込むだけでも問題ないです。

Pull Requestする場合は CONTRIBUTE.md も参考にして下さい。

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

プログラムコードはMITライセンスで利用できます。

文章についてはCreative Commons Attribution-NonCommercialで利用できます。

クリエイティブ・コモンズ・ライセンス