Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit ed58be1

Browse files
committed
Merge branch 'develop' into feature/MFA
2 parents 17b4bfc + 96d3d66 commit ed58be1

File tree

6 files changed

+8137
-8130
lines changed

6 files changed

+8137
-8130
lines changed

docs/User Guide/!!!meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"pOsGYCXsbNQG"
1010
],
1111
"title": "User Guide",
12-
"notePosition": 130,
12+
"notePosition": 1,
1313
"prefix": null,
1414
"isExpanded": false,
1515
"type": "text",

electron-docs-main.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,14 @@ async function exportData(format: "html" | "markdown", outputPath: string) {
143143
}
144144
}
145145

146-
await cleanUpMeta();
146+
await cleanUpMeta(outputPath);
147147
}
148148

149-
async function cleanUpMeta() {
150-
const metaPath = path.join(markdownPath, "!!!meta.json");
149+
async function cleanUpMeta(outputPath: string) {
150+
const metaPath = path.join(outputPath, "!!!meta.json");
151151
const meta = JSON.parse(await fs.readFile(metaPath, "utf-8")) as NoteMetaFile;
152152
for (const file of meta.files) {
153+
file.notePosition = 1;
153154
traverse(file);
154155
}
155156

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
"@types/react": "18.3.20",
201201
"@types/react-dom": "18.3.5",
202202
"@types/safe-compare": "1.1.2",
203-
"@types/sanitize-html": "2.13.0",
203+
"@types/sanitize-html": "2.15.0",
204204
"@types/sax": "1.2.7",
205205
"@types/serve-favicon": "2.5.7",
206206
"@types/session-file-store": "1.2.5",

0 commit comments

Comments
 (0)