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.
15 lines (11 loc) • 343 B
JavaScript
var verb = require('../');
/**
* Changelog example.
* Formatting is handled by the changelog tag
*/
var src = 'examples/templates/changelog.md';
var dest = 'test/actual/changelog.md';
verb.copy(src, dest);
// Custom data source
var dest2 = 'test/actual/changelog2.md';
verb.copy(src, dest2, {changelog: 'examples/data/changelog.json'});