puppeteer/test
Andrey Lushnikov 62cacbe5f5 Implement documentation linter (#47)
This patch implements documentation linter, which leaves under `test/doclint`
folder.

The documentation linter works like this:
1. Parse javascript source code with esprima and construct a "documentation" out of source code
2. Generate HTML out of `api.md` and traverse the HTML with puppeteer.
3. Make sure javascript aligns nicely with HTML

The documentation linter adds the following commands:
- `yarn doc` - to test that documentation covers all the relevant apis
- `yarn generate-toc` - to update the table-of-contents for the `api.md`
2017-07-07 19:36:45 +03:00
..
assets fix page.injectFile and add test. (#52) 2017-07-07 02:09:23 +03:00
doclint Implement documentation linter (#47) 2017-07-07 19:36:45 +03:00
golden Implement FrameManager 2017-06-21 14:11:52 -07:00
diffstyle.css Implement FrameManager 2017-06-21 14:11:52 -07:00
frame-utils.js Convert var's to let's 2017-06-22 14:58:39 -07:00
golden-utils.js Convert var's to let's 2017-06-22 14:58:39 -07:00
SimpleServer.js Properly shutdown testing http server 2017-07-07 08:55:30 -07:00
test.js Properly shutdown testing http server 2017-07-07 08:55:30 -07:00