1.0.7 • Published 6 years ago

generate-docs-by-github-issue v1.0.7

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

How To Use

const path = require('path');
const generate = require('generate-docs-by-github-issue');

generate({
    targetDir: path.join(__dirname, 'docs'),
    username: 'xxx',
    repo: 'xxx',
    beforeSort(issues) {
        issues.forEach(issue => {
            issue.title = issue.title.replace(/\//g, '-');
        });
    }
    afterSort(issues) {
        issues.forEach(issue => {
            console.log(issue.title);
        })   
    }
});

License

MIT

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago