mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 21:05:55 +01:00
feat(build-docs): split documentation in two
This commit is contained in:
@@ -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.
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user