A Metalsmith plugin to create KSS documentation.
$ npm install metalsmith-kss
Install via npm and then add the
metalsmith-kss key to your
metalsmith.json plugins, like so:
options to the kss plugin and pass it to Metalsmith with the
var kss = ;metalsmith;
KSS lacks the ability to include external fixtures in the markup section. Here is how to work around this: Say, you have an external HTML fixture in your site that you like to appear in the markup section of your KSS styleguide so you don't have to do updates twice.
- In your KSS, put the following in the according markup section:
- In your metalsmith build file, add an object of all fixture files that you need to be available to KSS:
- Allow other template engines