MCPcopy Create free account
hub / github.com/cortexproject/cortex / generateBlocksMarkdown

Function generateBlocksMarkdown

tools/doc-generator/main.go:278–282  ·  view source on GitHub ↗
(blocks []*configBlock)

Source from the content-addressed store, hash-verified

276}
277
278func generateBlocksMarkdown(blocks []*configBlock) string {
279 md := &markdownWriter{}
280 md.writeConfigDoc(blocks)
281 return md.string()
282}
283
284func generateBlockMarkdown(blocks []*configBlock, blockName, fieldName string) string {
285 // Look for the requested block.

Callers 1

mainFunction · 0.85

Calls 2

writeConfigDocMethod · 0.95
stringMethod · 0.95

Tested by

no test coverage detected