fix(astro): EN index reads from src/content, not ../../docs/wiki #257
1 changed files with 2 additions and 2 deletions
|
|
@ -2,8 +2,8 @@
|
|||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
|
||||
const WIKI_DIR = path.resolve("../../docs/wiki");
|
||||
const EXCLUDE = [".git", "index.md"];
|
||||
const WIKI_DIR = path.resolve("src/content");
|
||||
const EXCLUDE = [".git", "index.md", "sl"];
|
||||
|
||||
function walkMarkdown(dir, prefix = "") {
|
||||
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue