0.0.12 • Published 10 years ago

broccoli-docco v0.0.12

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

#broccoli-docco  Broccoli plugin for generating code documentation using Docco styled documentation blocks

Installation

At the root of your development project type:

npm install broccoli-docco --save

Usage

This plugin leverages the popular Docco documentation generator. The signature of the plugin is:

var tree = docco(inputTree, options) { }
  • Where the inputTree is either a broccoli tree or a string representing a directory which should be converted to a tree
  • There are two options that can be specified currently -- output and layout -- see the example below for an illustration of their use

This plugin should be used in your brocfile.js in manner similar to this:

var docco = require('broccoli-docco');
var docs  = docco('src', {
	output: 'docs', // this is the default value
	layout: 'parallel' // this is default value, values could also be 'linear' or 'classic'
});
module.exports = docs;

In the example above all supported document types in the src directory would be processed into HTML documentation in the docs directory using the parallel design layout.

Code Documentation

It would be odd to write code that documents code and then not document it ... so if you want to see the resultant documented code you can find it here:

broccoli-docco


Happy trails,

Ken Snyder

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago