MCPcopy Create free account
hub / github.com/SoftwareBrothers/better-docs / addAttribs

Function addAttribs

publish.js:200–206  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

198}
199
200function addAttribs(f) {
201 var attribs = helper.getAttribs(f)
202 var attribsString = buildAttribsString(attribs)
203
204 f.attribs = util.format('<span class="type-signature">%s</span>', attribsString)
205 f.rawAttribs = attribs
206}
207
208function shortenPaths(files, commonPrefix) {
209 Object.keys(files).forEach(function(file) {

Callers 1

publish.jsFile · 0.85

Calls 1

buildAttribsStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…