KSS-Scheibo - a template for the KSS-node styleguide
Install
npm install kss-scheibo --save-dev
Setup
Add a file name kss-scheibo.json
in your package.json root with the following lines.
For all configurations see kss-node documentation
{
"title" : "the name of your styleguide",
"builder" : "node_modules/kss-scheibo/kss_styleguide/scheibo-template/",
"source" : "assets/",
"destination" : "../styleguide/",
"css" : ['URL_of_a_CSS_file_to_include_in_the_style_guide.css']
}
Generate
Generate your styleguide with the following line:
node node_modules/kss/bin/kss --config kss-scheibo.json
Using kss-scheibo with Gulp
var gulp = require('gulp');
var exec = require('child_process').exec;
gulp.task('kss', function(cb) {
exec('node node_modules/kss/bin/kss --config kss-scheibo.json', function(err) {
cb(err);
});
});