Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 889 Bytes

File metadata and controls

42 lines (31 loc) · 889 Bytes

node-broccoli-styleguide-generator

Generate a styleguide consist of "broccoli-html-editor" modules.

使い方 - Usage

var Broccoli = require('broccoli-html-editor');
var BroccoliStuleGuideGen = require('broccoli-styleguide-generator');

var broccoli = new Broccoli();
broccoli.init({
	/* 中略 */
}, function(){

	var broccoliStyleGuideGen = new BroccoliStuleGuideGen({
		"siteTitle": "Broccoli Sample",
		"gpiBridge": function(api, options, callback){
			// Brccoli の GPI への接続方法を実装してください。
			broccooli.gpi(api, options, callback);
		}
	});
	broccoliStyleGuideGen.generate(
		'/path/to/dist/',
		function(result){
			console.log('done!');
		}
	);

});

ライセンス - License

MIT License

作者 - Author