SassDoc
Like JSDoc for your Sass files.

master:
develop: 

Usage
Command line
Install
npm install -g sassdoc
Generate Documentation
sassdoc <src> <dest> [options]
Arguments:
<src>
Path to your Sass folder.<dest>
Path to the destination folder.
Options:
-h, --help
: Bring help.--version
: Show version.-v, --verbose
: Run in verbose mode.-c, --config
: Path to JSON file containing variables to be passed to the view.-t, --theme
: Theme to be required. It will override the configuration value.--no-update-notifier
: Do not run the update notifier check.
Node
Install
npm install sassdoc --save
Use The Raw Data
var sassdoc = require('sassdoc');
sassdoc.parse(__dirname + '/sass').then(function (items) {
console.log(items);
})
Generate Documentation
var config = {
display: {
access: ['public', 'private'],
alias: false,
watermark: true,
},
package: 'path/to/package.json',
theme: 'theme-name',
};
var sassdoc = require('sassdoc');
sassdoc.documentize(source, dest, config);
Grunt, Gulp, Broccoli
See grunt-sassdoc,
gulp-sassdoc,
broccoli-sassdoc.
Documentating your items
See Wiki.
Customising the view
See Wiki.
Example
@function insert-nth($list, $index, $value) {
}
$legacy-support: true !global;
Built with SassDoc
Credits