Skip to content

Commit 44c9b12

Browse files
committed
# Settings => ## Settings
1 parent f42414b commit 44c9b12

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

do/settings_gen_code.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,10 +556,10 @@ func genAndSaveSettingsStructs() {
556556
// Append to docs/md/Advanced-options-settings.md after "# Settings" line
557557
mdPath := filepath.Join("docs", "md", "Advanced-options-settings.md")
558558
existing := string(readFileMust(mdPath))
559-
marker := "# Settings"
559+
marker := "## Settings"
560560
idx := strings.Index(existing, marker)
561561
panicIf(idx == -1, "marker '%s' not found in '%s'", marker, mdPath)
562-
// Keep everything up to and including "# Settings\n"
562+
// Keep everything up to and including "## Settings\n"
563563
prefix := existing[:idx+len(marker)] + "\n\n"
564564
result := prefix + s
565565
writeFileMust(mdPath, []byte(result))

docs/md/Advanced-options-settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Here are some things you can customize:
2525

2626
Advanced settings file also stores the history and state of opened files so that we can e.g. re-open on the page
2727

28-
# Settings
28+
## Settings
2929

3030
Below is an explanation of what the different settings mean and what their default values are.
3131

0 commit comments

Comments
 (0)