MCPcopy Create free account
hub / github.com/DavidWells/analytics / jsDocRenderArg

Function jsDocRenderArg

scripts/docs.js:443–448  ·  view source on GitHub ↗
(param)

Source from the content-addressed store, hash-verified

441}
442
443function jsDocRenderArg(param) {
444 const optionalText = (param.optional) ? '_optional_ - ' : '**required** - '
445 const type = `${param.type.names[0]}`
446 // md += `| **[${param.name} - \``](${data.githubUrl})** <br/> by [${userName}](${profileURL}) <br/>`
447 return `| \`${param.name.replace(/^pluginConfig\./, '')}\` <br/>${optionalText}${type}| ${param.description} |`
448}
449
450function jsDocRenderExample(example, allData) {
451 if (!example) {

Callers 1

jsDocFormatArgumentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected