Skip to content
Pro Git (第一版) 中文版
Branch: gh-pages
Clone or download
Pull request Compare This branch is even with iissnan:gh-pages.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
book_src @ 6895c82
html
lib
template
test
.bowerrc
.gitignore
.gitmodules
README.md
about.html
bower.json
gulpfile.coffee
index.en.html
index.html
index.zh-tw.html
package.json

README.md

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
    
You can’t perform that action at this time.