The Internet connection speed for Yonyou is soo slow…

So I decide to serve offline API documents of some open source projects (e.g. node request module).

Quick google, find this

Now there are 2 methods to fit this requirement:

  • serve *.md files directly
  • serve *.html files (need to generate *.html files automatically)

The method bellow is more complexible, so I choose this one.

The tool I choose is

sudo easy_install pip
pip install grip

Prepare projects

mkdir ~/source/_libs_
cd _libs_
git clone
cd request
grip --export readme.html
python -m SimpleHTTPServer


At the end I create a offline document project