mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
docs: restructure docs (#14421)
Closes #13434 Supersedes #14182 --------- Co-authored-by: Ethan <39577870+ethanndickson@users.noreply.github.com> Co-authored-by: Ethan Dickson <ethan@coder.com> Co-authored-by: Ben Potter <ben@coder.com> Co-authored-by: Stephen Kirby <58410745+stirby@users.noreply.github.com> Co-authored-by: Stephen Kirby <me@skirby.dev> Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Co-authored-by: Edward Angert <EdwardAngert@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
288df75686
commit
419eba5fb6
@ -87,7 +87,7 @@ func fullName(cmd *serpent.Command) string {
|
||||
func fmtDocFilename(cmd *serpent.Command) string {
|
||||
if cmd.FullName() == "coder" {
|
||||
// Special case for index.
|
||||
return "./README.md"
|
||||
return "./index.md"
|
||||
}
|
||||
name := strings.ReplaceAll(fullName(cmd), " ", "_")
|
||||
return fmt.Sprintf("%s.md", name)
|
||||
|
Reference in New Issue
Block a user