1.0.7 • Published 7 years ago

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

Weekly downloads
3
License
ISC
Repository
github
Last release
7 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

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago