Skip to content

Development

pascalduez edited this page Sep 10, 2014 · 3 revisions

While working on the generator:

npm i -g yo
git clone -b develop git@github.com:SassDoc/generator-sassdoc-theme.git
cd generator-sassdoc-theme
npm link

mkdir sassdoc-theme-rainbow && cd $_

Basic install with all prompts:
yo sassdoc-theme

Skip npm install:
yo sassdoc-theme --skip-install

Pass the theme name as an argument:
yo sassdoc-theme sassdoc-theme-rainbow

Pass the tempalte engine as an option:
yo sassdoc-theme --theme-engine=jade

Call a specific sub-generator without all the prompts:
yo sassdoc-theme:nunjuncks
yo sassdoc-theme:grunt
...

Reset cached answers (config):
yo sassdoc-theme --init
or
rm .yo-rc.json

Clone this wiki locally