| 155 | * Generate documentation for the externally hosted Vue plugin. |
| 156 | */ |
| 157 | export async function docsExternalPlugins() { |
| 158 | say('Building Vue plugin docs') |
| 159 | const resp = await axios.get('https://raw.githubusercontent.com/codecept-js/vue-cli-plugin-codeceptjs-puppeteer/master/README.md') |
| 160 | |
| 161 | await writeToFile('docs/vue.md', line => { |
| 162 | line`---\npermalink: /vue\nlayout: Section\nsidebar: false\ntitle: Testing Vue Apps\n---\n\n` |
| 163 | line`${resp.data}` |
| 164 | }) |
| 165 | } |
| 166 | |
| 167 | /** |
| 168 | * Copy helpers into docs/build and inline webapi partials (optionally preserving CodeceptJS types for typings). |