packages/vue-styleguidist/loaders/utils/getSections.js
function getSections(sections, config, parentDepth) {
	return sections.map(section => processSection(section, config, parentDepth))
}
function getSections(sections, config, parentDepth) {
	return sections.map(section => processSection(section, config, parentDepth))
}
function getSections ( sections , config , parentDepth ) { return sections . map ( section => processSection ( section , config , parentDepth ) ) }
Return object for one level of sections.

@param {Array} sections
@param {object} config
@param {number} parentDepth
@returns {Array}
Return object for one level of sections .