docs: function (collector, options) {
  	if (typeof options == 'string' || options instanceof String) {
  		// default to html report at options directory
  		writeReport('html', {
  			dir: options
  		}, collector);
  	} else if (options instanceof Array) {
  		// multiple reports
  		for (var i = 0; i < options.length; i = i + 1) {
  			var report = options[i];
  			writeReport(report.type, report.options, collector);
  		}
  	} else {
  		// single report
  		writeReport(options.type, options.options, collector);
  	}
  }