From 5068e4ffd3cc2869a08e1d11ed8fa82b0677e70d Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Thu, 16 Jan 2025 19:36:49 +0000 Subject: [PATCH] Fix sidebar links --- postProcess.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postProcess.js b/postProcess.js index 44448e9e..ba9f2369 100644 --- a/postProcess.js +++ b/postProcess.js @@ -54,7 +54,7 @@ function sort(a, b) { } currentSidebar = nextSidebar.items; }); - currentSidebar.push({ text: path.basename(file).replace(".md", ""), link: `/..\\docs\\api/${relPath.replace("\\", "/")}/${path.basename(file)}` }); + currentSidebar.push({ text: path.basename(file).replace(".md", ""), link: `/..\\api/${relPath.replace("\\", "/")}/${path.basename(file)}` }); currentSidebar.sort(sort); const filePath = path.resolve(dir, file); const stream = fs.createReadStream(filePath);