$ cnpm install readme2gh
This tool updates the contents of your gh-pages index.html based on your projects's README.md at master branch. Effectively this makes it really easy to keep your project info in sync in case you happen to use README.md and index in tandem.
sudo npm install -g
to install the script{{ content }}
tag in place of current README content. The tool will inject your README there.readme2gh
. This will update your index.html based on your index.tpl.Set up a cronjob or something if you want to be truly lazy.
ghw is available under MIT. See LICENSE for more details.
Copyright 2014 - 2016 © taobao.org |