Skip to content

Commit e62137f

Browse files
committed
fix(docs): meta for HTML documentation changing due to root notePosition
1 parent 4dd300b commit e62137f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

docs/User Guide/!!!meta.json

+1-1
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

+1
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ async function cleanUpMeta(outputPath: string) {
150150
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

src/public/app/doc_notes/en/User Guide/!!!meta.json

+4-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)