app.templates.path = function (doc, type, entry) { const arrow = ''; let html = `${doc.fullName}`; if (type) { html += `${arrow}${ type.name }`; } if (entry) { html += `${arrow}${$.escape(entry.name)}`; } return html; };