templates = app.templates
templates.sidebarDoc = (doc, options = {}) ->
link = """"""
if options.disabled
link += """Enable"""
else
link += """"""
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.sidebarNoResults = ->
html = """
No results.
"""
html += """
Note: documentations must be
enabled to appear in the search.
""" unless app.isSingleDoc() or app.disabledDocs.isEmpty()
html
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.sidebarPickerNote = """
Tip: for faster and better search results, select only the docs you need.
Vote for new documentation
"""
sidebarFooter = (html) -> """"""
templates.sidebarSettings = ->
sidebarFooter """
"""
templates.sidebarSave = ->
sidebarFooter """"""