Skip to content

Commit

Permalink
fix: only generated docs (#2244)
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Beckwith <justin.beckwith@gmail.com>
  • Loading branch information
sofisl and JustinBeckwith committed Jun 17, 2020
1 parent 51d99cc commit f581297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generator/docs.ts
Expand Up @@ -46,7 +46,7 @@ export async function main() {
}
const children = await gfs.readdir(apiPath);
const dirs = children.filter(x => {
return !x.endsWith('.ts') && !x.includes('compute');
return !x.endsWith('.ts');
});
const contents = nunjucks.render(templatePath, {apis: dirs});
await gfs.writeFile(indexPath, contents);
Expand Down

0 comments on commit f581297

Please sign in to comment.