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;
|
outDir: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const DIR_PREFIX = "rest-api"
|
||||||
|
|
||||||
const buildInfos: BuildInfo[] = [
|
const buildInfos: BuildInfo[] = [
|
||||||
{
|
{
|
||||||
// Paths are relative to Git root.
|
// Paths are relative to Git root.
|
||||||
specPath: "apps/server/src/assets/api-openapi.yaml",
|
specPath: "apps/server/src/assets/api-openapi.yaml",
|
||||||
outDir: "api/internal"
|
outDir: `${DIR_PREFIX}/internal`
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
specPath: "apps/server/src/assets/etapi.openapi.yaml",
|
specPath: "apps/server/src/assets/etapi.openapi.yaml",
|
||||||
outDir: "api/etapi"
|
outDir: `${DIR_PREFIX}/etapi`
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
4
docs/User Guide/!!!meta.json
vendored
4
docs/User Guide/!!!meta.json
vendored
@@ -12594,7 +12594,7 @@
|
|||||||
{
|
{
|
||||||
"type": "label",
|
"type": "label",
|
||||||
"name": "webViewSrc",
|
"name": "webViewSrc",
|
||||||
"value": "/api/etapi/",
|
"value": "/rest-api/etapi/",
|
||||||
"isInheritable": false,
|
"isInheritable": false,
|
||||||
"position": 10
|
"position": 10
|
||||||
},
|
},
|
||||||
@@ -13612,7 +13612,7 @@
|
|||||||
{
|
{
|
||||||
"type": "label",
|
"type": "label",
|
||||||
"name": "webViewSrc",
|
"name": "webViewSrc",
|
||||||
"value": "/api/internal/",
|
"value": "/rest-api/internal/",
|
||||||
"isInheritable": false,
|
"isInheritable": false,
|
||||||
"position": 10
|
"position": 10
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user