Home

Awesome

Learn Coding with Open Source

Join the chat at https://gitter.im/zhuangbiaowei/learn-with-open-source GitHub stars Powered by Gitbook License: CC BY-NC-SA 4.0 Actions Status

This book uses GitBook to build.

License: CC BY-NC-SA 4.0

<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br />All contents licensed under the <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"> Creative Commons Attribution Non Commercial Share Alike 4.0 license</a>.

Welcome! Join us to finish this book.

You can visit the online ebook: Learn Coding With Open Source

You can also get the PDF on the release page.

for developers

Build the book

Note: you will need Linux or MacOS. Windows is not yet supported.

  1. install node.js
  2. install ebook-convert from calibre
  1. enter the git repository directory

    cd learn-with-open-source
    npm install
    
  2. generate the ebook via:

    1. generate html pages:
    ./node_modules/.bin/gitbook build . _book
    
    1. run a local server to read html:
    ./node_modules/.bin/gitbook serve .
    
    1. generate the pdf:
    ./node_modules/.bin/gitbook pdf .
    

Update contributions automatically

It will update contributions through git commits after a pull request or merge is executed. If you want to update it manually:

This script will update the "Contributor.md" file and copy it to the "zh" folder.

cd learn-with-open-source
./.githooks/post-merge/update-contributors

The contributors configuration file is the ".contributors" file on the root of the repository.

Update TOC automatically

TODO: this is not finished.

The gitbook uses the SUMMARY.md to get the TOC. The list in the SUMMARY.md will be the TOC.

1. [Topic](topic.md)
  1. [SubTopic](subtopic.md)
    1. TheSameFileTopicNoLinkAllowed
    1. TheSameFileTopicNoLinkAllowed
1. [Topic2]

note:

the workflow automation is:


《借助开源项目,学习软件开发》

本书使用 GitBook 来 build 电子书。

联机电子书版本在这里: Learn Coding With Open Source

开放文档:《借助开源项目,学习软件开发》

诚邀您的参与!

著作权申明

License: CC BY-NC-SA 4.0

<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a>