Skip to content

Development

pascalduez edited this page Sep 8, 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 my-new-theme && cd $_

Basic install with all prompts:
yo sassdoc-theme

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

Pass the theme name as an option:
yo sassdoc-theme --themeName=sassdoc-theme-rainbow

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