Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 828 Bytes

README.md

File metadata and controls

39 lines (28 loc) · 828 Bytes

broccoli-yuidoc

This plugin provides support for generating YUIDoc via a broccoli pipeline.

Installation

npm install --save-dev broccoli-yuidoc

Configuration

Additional options related to YUIDoc may be may be passed as an object yuidoc to yuidocCompiler. All of the available options can be found on YUIDoc's official documentation page.

Note: If a yuidoc.json file exists in a parent directory, it will be used as well.

Usage

var yuidocCompiler = require('broccoli-yuidoc');

var yuidocTree = yuidocCompiler('app', {
	srcDir: '/',
	destDir: 'docs',
	yuidoc: {
		// .. yuidoc option overrides
	}
});

module.exports = yuidocTree;

It's recomended to use broccoli-merge-trees to finally produce a signle tree for broccoli to work on.