1 | #!/usr/bin/env node
|
2 |
|
3 | /**
|
4 | * Bud file for README.md
|
5 | * Executing this file renders README.md
|
6 | *
|
7 | * Generated by {{generator}} on {{today}},
|
8 | * from a template provided by {{ pkg.name }}.
|
9 | *
|
10 | * @see https://github.com/coz-repo/coz
|
11 | */
|
12 |
|
13 | 'use strict'
|
14 |
|
15 | const apemanBudReadme = require('apeman-bud-readme')
|
16 |
|
17 | const apeman = require('apeman')
|
18 | const $ctx = apeman.ctx(__dirname)
|
19 | const { pkg } = $ctx
|
20 |
|
21 | module.exports = apemanBudReadme({
|
22 | /** npm package data */
|
23 | pkg: pkg,
|
24 | /** Repository name */
|
25 | repo: pkg.repository,
|
26 | /** Section templates to render */
|
27 | sections: 'doc/guides/+(*.md|*.md.hbs)',
|
28 | /** Badge configurations */
|
29 | badges: {
|
30 | travis: !pkg.private,
|
31 | travisCom: pkg.private,
|
32 | travisComToken: $ctx.travisComToken || '',
|
33 | codeclimate: true,
|
34 | codeclimateCoverage: true,
|
35 | gemnasium: false,
|
36 | npm: true,
|
37 | standard: true
|
38 | },
|
39 | /** Overview file for this project */
|
40 | overview: 'doc/overview.md',
|
41 | /** Footer link urls */
|
42 | links: require('./doc/links'),
|
43 | /** Variables to inject in section templates */
|
44 | vars: {
|
45 |
|
46 | }
|
47 | })
|
48 |
|
49 | {{{read _render}}}
|
50 |
|
\ | No newline at end of file |