/progit

Pro Git (第一版) 中文版

Primary LanguageHTML

About

This project aims to generate html pages for Pro Git book from Book Source using node.js.

The generated HTML pages can be hosted on the GitHub via Github Pages.

Demo

Screenshots

Mobile

How to build

  1. Download and install Node.js.

  2. Get a copy of this project:

    git clone https://github.com/iissnan/progit.git progit
    

    If you want to host this pages yourself, you need to fork this project to your account first.

  3. Install dependencies:

    npm install
    
  4. Get book source:

    Book source is involved as a git submodule. Run the following command to init the submodule.

    git submodule init
    git submodule update
    
  5. Generate HTML pages:

    node lib/build
    
  6. Push to your repository's gh-pages branch.

    git push origin gh-pages