• Stars
    star
    343
  • Rank 123,371 (Top 3 %)
  • Language
    JavaScript
  • Created almost 12 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Pro Git (第一版) 中文版

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