mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
feat(build-docs): add root 404 page
This commit is contained in:
@@ -22,8 +22,9 @@ async function main() {
|
|||||||
buildSwagger(context);
|
buildSwagger(context);
|
||||||
buildScriptApi(context);
|
buildScriptApi(context);
|
||||||
|
|
||||||
// Copy index file.
|
// Copy index and 404 files.
|
||||||
cpSync(join(__dirname, "index.html"), join(context.baseDir, "index.html"));
|
cpSync(join(__dirname, "index.html"), join(context.baseDir, "index.html"));
|
||||||
|
cpSync(join(context.baseDir, "user-guide/404.html"), join(context.baseDir, "404.html"));
|
||||||
}
|
}
|
||||||
|
|
||||||
main();
|
main();
|
||||||
|
|||||||
Reference in New Issue
Block a user