fix(docs): meta for HTML documentation changing due to root notePosition

This commit is contained in:
Elian Doran
2025-03-29 11:28:31 +02:00
parent 4dd300b702
commit e62137f245
3 changed files with 6 additions and 2 deletions

View File

@@ -150,6 +150,7 @@ async function cleanUpMeta(outputPath: string) {
const metaPath = path.join(outputPath, "!!!meta.json");
const meta = JSON.parse(await fs.readFile(metaPath, "utf-8")) as NoteMetaFile;
for (const file of meta.files) {
file.notePosition = 1;
traverse(file);
}