mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 13:26:01 +01:00
chore(build-docs): relocate to /rest-api
This commit is contained in:
@@ -8,15 +8,17 @@ interface BuildInfo {
|
||||
outDir: string;
|
||||
}
|
||||
|
||||
const DIR_PREFIX = "rest-api"
|
||||
|
||||
const buildInfos: BuildInfo[] = [
|
||||
{
|
||||
// Paths are relative to Git root.
|
||||
specPath: "apps/server/src/assets/api-openapi.yaml",
|
||||
outDir: "api/internal"
|
||||
outDir: `${DIR_PREFIX}/internal`
|
||||
},
|
||||
{
|
||||
specPath: "apps/server/src/assets/etapi.openapi.yaml",
|
||||
outDir: "api/etapi"
|
||||
outDir: `${DIR_PREFIX}/etapi`
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user