MCPcopy Create free account
hub / github.com/coder/coder / toMdFilename

Function toMdFilename

scripts/apidocgen/postprocess/main.go:263–265  ·  view source on GitHub ↗
(sectionName string)

Source from the content-addressed store, hash-verified

261}
262
263func toMdFilename(sectionName string) string {
264 return nonAlphanumericRegex.ReplaceAllLiteralString(strings.ReplaceAll(strings.ToLower(sectionName), " ", ""), "-") + ".md"
265}

Callers 1

writeDocsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected