1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-28 22:52:03 +03:00
tabby/scripts/build-docs.mjs

10 lines
312 B
JavaScript
Raw Normal View History

#!/usr/bin/env node
import sh from 'shelljs'
import * as vars from './vars.mjs'
import log from 'npmlog'
vars.packagesWithDocs.forEach(([dest, src]) => {
log.info('docs', src)
2022-01-16 21:41:01 +03:00
sh.exec(`yarn typedoc --out docs/api/${dest} --tsconfig ${src}/tsconfig.typings.json ${src}/src/index.ts`, { fatal: true })
})