docs: function buildNav(members) {
    var nav = []
    var seen = {}
    var seenTutorials = {}
    var conf = env.conf.templates || {}
    conf.default = conf.default || {}
    var tutorialsTitle = conf.default.tutorialsTitle || "Tutorials"
  
    nav.push(buildNavLink('logo', '<a class="nav-logo" href="index.html" title="Bootstrap Colorpicker">' +
      '<img alt="Home" src="logo.png" /></a>' +
      '<span class="nav-logo-title">Bootstrap Colorpicker</span>'))
  
    // add searchBox
    if (env.conf.templates.default.searchBox && (env.conf.templates.default.searchBox.enabled !== false)) {
      nav.push(`<li class="search-box"><input placeholder="Search" class="form-control" type="search" /></li>`)
    }
  
    nav = nav.concat(buildMemberNav(members.tutorials, tutorialsTitle, seenTutorials, linktoTutorial))
  
    nav = nav.concat(buildMemberNav(members.classes, "Classes", seen, linkto))
    nav = nav.concat(buildMemberNav(members.modules, "Modules", {}, linkto))
    nav = nav.concat(buildMemberNav(members.externals, "Externals", seen, linktoExternal))
    nav = nav.concat(buildMemberNav(members.events, "Events", seen, linkto))
    nav = nav.concat(buildMemberNav(members.namespaces, "Namespaces", seen, linkto))
    nav = nav.concat(buildMemberNav(members.mixins, "Mixins", seen, linkto))
    nav = nav.concat(buildMemberNav(members.interfaces, "Interfaces", seen, linkto))
  
    if (members.globals.length) {
      nav.push(buildNavHeading(linkto('global', 'Globals')))
  
      members.globals.forEach(function (item) {
        if (item.kind !== "typedef" && !hasOwnProp.call(seen, item.longname)) {
          nav.push(buildNavItem(buildNavType(item.kind, linkto(item.longname, item.name)), item.kind))
        }
  
        seen[item.longname] = true
      })
    }
  
    return nav.join('')
  }