Skip to content

Commit 2bf5fa1

Browse files
committed
fix: add docgen.mjs
1 parent bc31f3a commit 2bf5fa1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

apps/docs/src/utils/docgen.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { createDocumentation } from 'typedoc-nextra';
2+
3+
await createDocumentation({
4+
input: [`${process.cwd()}/../../packages/handler/src/index.ts`],
5+
output: `${process.cwd()}/src/pages/docs/api`,
6+
tsconfigPath: `${process.cwd()}/../../packages/handler/tsconfig-base.json`,
7+
markdown: true,
8+
});

0 commit comments

Comments
 (0)