kss-scheibo
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

KSS-Scheibo - a template for the KSS-node styleguide

npm version Issues npm

Install

npm install kss-scheibo --save-dev

Setup

Create 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']
}

Create a kss-homepage.md and add your styles like style-documentation in your source folder.

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);
	});
});

Package Sidebar

Install

npm i kss-scheibo@0.0.5

Version

0.0.5

License

MIT

Unpacked Size

52.9 kB

Total Files

24

Last publish

Collaborators

  • scheibo