mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
fix(docs): fix broken markdown links (#7081)
* fix(docs): fix markdown docs links More than half of them were actually valid links but, due to missing file extensions were flagged as invalid. I added a file extension, so it should pass now. * Updated docgen to include extension
This commit is contained in:
@@ -55,10 +55,7 @@ func init() {
|
||||
return fmt.Sprintf("<code>%s</code>", s)
|
||||
},
|
||||
"commandURI": func(cmd *clibase.Cmd) string {
|
||||
return strings.TrimSuffix(
|
||||
fmtDocFilename(cmd),
|
||||
".md",
|
||||
)
|
||||
return fmtDocFilename(cmd)
|
||||
},
|
||||
"fullName": fullName,
|
||||
"tableHeader": func() string {
|
||||
|
||||
Reference in New Issue
Block a user