#!/usr/bin/env node

/**
 * Bud file for README.md
 * Executing this file renders README.md
 *
 * Generated by {{generator}} on {{today}},
 * from a template provided by {{pkg.name}}.
 *
 * @see https://github.com/coz-repo/coz
 */

"use strict";

const apemanBudReadme = require('apeman-bud-readme');

const apeman = require('apeman'),
    $ctx = apeman.ctx(__dirname),
    pkg = $ctx.pkg;

module.exports = apemanBudReadme({
    /** npm package data */
    pkg: pkg,
    /** Repository name */
    repo: pkg.repository,
    /** Section templates to render */
    sections: 'doc/guides/+(*.md|*.md.hbs)',
    /** Badge configurations */
    badges: {
        travis: !pkg.private,
        travisCom: pkg.private,
        travisComToken: $ctx.travisComToken || '',
        codeclimate: true,
        codeclimateCoverage: true,
        gemnasium: false,
        npm: true
    },
    /** Overview file for this project */
    overview: 'doc/overview.md',
    /** Footer link urls */
    links: require('./doc/links'),
    /** Variables to inject in section templates */
    vars: {

    }
});

{{{read _render}}}
