feat(build-docs): split documentation in two

This commit is contained in:
Elian Doran
2025-11-01 22:51:33 +02:00
parent c6738ac52f
commit 2c1cebfbc3
3 changed files with 23 additions and 6 deletions

View File

@@ -2,8 +2,10 @@ import { execSync } from "child_process";
import BuildContext from "./context";
export default function buildScriptApi({ }: BuildContext) {
execSync(`pnpm typedoc`, {
stdio: "inherit"
// * Output dir is set in typedoc.json.
});
for (const config of [ "backend", "frontend" ]) {
execSync(`pnpm typedoc --options typedoc.${config}.json`, {
stdio: "inherit"
// * Output dir is set in typedoc.json.
});
}
}