code: function createPartialTree (currentFile, partials, visitedFiles) {
    if (visitedFiles[currentFile.name]) {
      return {
        label: '*' + currentFile.name + '*',
        name: currentFile.name
      }
    }
    visitedFiles[currentFile.name] = true
  
    var result = {
      label: currentFile.name,
      name: currentFile.name,
      summary: _.trunc(chainOrUndefined(currentFile, 'apidocs', 0, 'parsed', 'description'), {
        separator: ' ',
        length: 50
      })
    }
    if (currentFile.children.length > 0) {
      _.merge(result, {
        children: currentFile.children.map(function (child) {
          return createPartialTree(partials[child], partials, visitedFiles)
        })
      })
    }
    return result
  }
docs: Generate a call hierarchy of the template and its partials
  @param currentFile
  @param partials