mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-25 14:26:29 +00:00
Remove other dependencies only used by docset Remove docset support from README. Fixes #61
26 lines
554 B
JavaScript
26 lines
554 B
JavaScript
'use strict';
|
|
|
|
var splicer = require('stream-splicer'),
|
|
json = require('./streams/output/json.js'),
|
|
markdown = require('./streams/output/markdown.js'),
|
|
htmlOutput = require('./streams/output/html.js');
|
|
|
|
module.exports = {
|
|
json: function () {
|
|
return json();
|
|
},
|
|
md: function (options) {
|
|
return markdown({
|
|
template: options.mdtemplate,
|
|
name: options.name,
|
|
version: options.version
|
|
});
|
|
},
|
|
html: function (options) {
|
|
return htmlOutput({
|
|
name: options.name,
|
|
version: options.version
|
|
});
|
|
}
|
|
};
|