templates = app.templates templates.sidebarDoc = (doc, options = {}) -> link = """""" link += """""" unless options.disabled link += """#{doc.version}""" if doc.version link + "#{doc.name}" templates.sidebarType = (type) -> """#{type.count}#{type.name}""" templates.sidebarEntry = (entry) -> """#{$.escape entry.name}""" templates.sidebarResult = (entry) -> """#{$.escape entry.name}""" templates.sidebarPageLink = (count) -> """Show more\u2026 (#{count})""" templates.sidebarLabel = (doc, options = {}) -> label = """" templates.sidebarDisabledList = (options) -> """
#{templates.render 'sidebarDoc', options.docs, disabled: true}
""" templates.sidebarDisabled = (options) -> """
Disabled (#{options.count})
""" templates.sidebarVote = 'Vote for new documentation' sidebarFooter = (html) -> """""" templates.sidebarSettings = -> sidebarFooter """Select documentation""" templates.sidebarSave = -> sidebarFooter """Save"""