code: function getSections(sections, config, parentDepth) {
  	return sections.map(section => processSection(section, config, parentDepth))
  }
docs: Return object for one level of sections.
  
  @param {Array} sections
  @param {object} config
  @param {number} parentDepth
  @returns {Array}