verb
Version:
A project without documentation is like a project that doesn't exist. Verb solves this by making it dead simple to generate docs, using simple markdown templates, with zero configuration required.
26 lines (23 loc) • 575 B
JavaScript
/**
* Verb <https://github.com/assemble/verb>
* Generate markdown documentation for GitHub projects.
*
* Copyright (c) 2014 Jon Schlinkert, Brian Woodward, contributors.
* Licensed under the MIT license.
*/
const path = require('path');
const extension = require('./utils/extension');
/**
* Plugins
*
* Adds `plugin` extensions to the context.
*
* @name plugins
* @param {Object} options
* @return {Object}
* @api private
*/
module.exports = function (verb) {
var builtins = path.join(__dirname, 'plugins/*.js');
extension('plugins', builtins, verb);
};