docs: make the see also section header consistent and listed in toc of command pages

This commit is contained in:
albertony 2024-08-12 16:46:38 +02:00
parent bd5199910b
commit 513653910c

View file

@ -197,7 +197,7 @@ See the [global flags page](/flags/) for global options not listed here.
`) `)
startCut := strings.Index(doc, `### Options inherited from parent commands`) startCut := strings.Index(doc, `### Options inherited from parent commands`)
endCut := strings.Index(doc, `## SEE ALSO`) endCut := strings.Index(doc, `### SEE ALSO`)
if startCut < 0 || endCut < 0 { if startCut < 0 || endCut < 0 {
if name == "rclone.md" { if name == "rclone.md" {
return nil return nil