MCPcopy Create free account
hub / github.com/Unpackerr/unpackerr / makeDefinedDocs

Method makeDefinedDocs

init/config/docusaurus.go:147–155  ·  view source on GitHub ↗
(prefix string, defs Defs, order []section)

Source from the content-addressed store, hash-verified

145}
146
147func (h *Header) makeDefinedDocs(prefix string, defs Defs, order []section) string {
148 var buf bytes.Buffer
149
150 for _, section := range order {
151 buf.WriteString(createDefinedSection(defs[section], h, section).makeDocs(prefix, section))
152 }
153
154 return buf.String()
155}

Callers 1

createDocusaurusFunction · 0.80

Calls 3

createDefinedSectionFunction · 0.85
makeDocsMethod · 0.80
StringMethod · 0.65

Tested by

no test coverage detected