gulp/util/sassdoc.js
function getSassReference(rawData) {
    // group sassdoc items (variables, mixins, functions, etc.) by @group
    var content = _.groupBy(rawData, (item) => item.group[0]);

    Object.keys(content).forEach((group) => {
        content[group] = content[group].map((item) => {
            // boolean flag for deprecated
            item.deprecated = typeof item.deprecated !== 'undefined'
            return item;
        });

        // group every sassdoc item by type
        content[group] = _.groupBy(content[group], (item) => item.context.type + 's');
    });

    return content;
}
function getSassReference(rawData) {
    // group sassdoc items (variables, mixins, functions, etc.) by @group
    var content = _.groupBy(rawData, (item) => item.group[0]);

    Object.keys(content).forEach((group) => {
        content[group] = content[group].map((item) => {
            // boolean flag for deprecated
            item.deprecated = typeof item.deprecated !== 'undefined'
            return item;
        });

        // group every sassdoc item by type
        content[group] = _.groupBy(content[group], (item) => item.context.type + 's');
    });

    return content;
}
function getSassReference ( rawData ) { // group sassdoc items (variables, mixins, functions, etc.) by @group var content = _ . groupBy ( rawData , ( item ) => item . group [ 0 ] ) ; Object . keys ( content ) . forEach ( ( group ) => { content [ group ] = content [ group ] . map ( ( item ) => { // boolean flag for deprecated item . deprecated = typeof item . deprecated !== 'undefined' return item ; } ) ; // group every sassdoc item by type content [ group ] = _ . groupBy ( content [ group ] , ( item ) => item . context . type + 's' ) ; } ) ; return content ; }
Get sass reference view model from sassdoc raw data

@param  {Array} rawData - sassdoc items
@return {Object}
Get sass reference view model from sassdoc raw data