refactor: docubook@latest template nextjs-docker

This commit is contained in:
gitfromwildan
2026-05-30 18:52:21 +07:00
parent bf2ef37f49
commit 80eb49d968
101 changed files with 1759 additions and 4165 deletions

View File

@@ -1,4 +1,4 @@
import docuConfig from "@/docu.json"; // Import JSON file
import docuConfig from "@/docu.json";
export type ContextInfo = {
icon: string;
@@ -14,7 +14,7 @@ export type EachRoute = {
items?: EachRoute[];
};
export const ROUTES: EachRoute[] = docuConfig.routes;
export const ROUTES: EachRoute[] = (docuConfig as { routes: EachRoute[] }).routes;
type Page = { title: string; href: string };