INNER CODE UNIT · JavaScript
helperMarkDownFile
codeceptjs/CodeceptJS · Bunoshfile.js:12
const helperMarkDownFile = name => `docs/helpers/${name}.md`
const pluginMarkDownFile = name => `docs/plugins/${name}.md`
/**
* Generate all documentation (helpers, plugins and external helpers in parallel).
*/
export async function docs() {
task.stopOnFailures()
await Promise.all([docsHelpers(), docsPlugins(), docsExternalHelpers()])
}
/**
* Build lib with docs, regenerate plugin/external docs and TypeScript definitions.
*/
export async function def() {
task.stopOnFailures()
await Promise.all([buildLibWithDocs(true), docsPlugins(), docsExternalHelpers()])
await defTypings()