Skip to content

Commit

Permalink
docs: fix _category_.json typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanSpeakEasy committed Sep 5, 2023
1 parent d52a911 commit e20f1ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func genDocs(cmd *cobra.Command, outDir string, docSiteLinks bool, docosaurusPos
}

if pos, ok := docosaurusPositioning[dir]; ok {
if err := os.WriteFile(filepath.Join(dir, "_category.json_"), []byte(fmt.Sprintf(`{"position": %d}`, pos)), 0o644); err != nil {
if err := os.WriteFile(filepath.Join(dir, "_category_.json"), []byte(fmt.Sprintf(`{"position": %d}`, pos)), 0o644); err != nil {
return err
}
}
Expand Down

0 comments on commit e20f1ab

Please sign in to comment.