code: function indexLevels(summary) {
      var parts = summary.getParts();
      parts = parts.map(indexPartLevels);
  
      return summary.set('parts', parts);
  }
docs: Index all levels in the summary
  
  @param {Summary}
  @return {Summary}