| 163 | }, |
| 164 | |
| 165 | async docsExternalPlugins() { |
| 166 | // generate documentation for helpers outside of main repo |
| 167 | console.log('Building Vue plugin docs') |
| 168 | const resp = await axios.get('https://raw.githubusercontent.com/codecept-js/vue-cli-plugin-codeceptjs-puppeteer/master/README.md') |
| 169 | |
| 170 | writeToFile('docs/vue.md', cfg => { |
| 171 | cfg.line('---\npermalink: /vue\nlayout: Section\nsidebar: false\ntitle: Testing Vue Apps\n---\n\n') |
| 172 | cfg.line(resp.data) |
| 173 | }) |
| 174 | |
| 175 | this.docsCi() |
| 176 | }, |
| 177 | |
| 178 | async buildLibWithDocs(forTypings = false) { |
| 179 | // generate documentation for helpers |