lib/grunt/apidoc2readme.js
function (doc) {
        [
            'Returns',
            'Emits',
            'Access',
            'Kind'
        ].forEach(function removeLine(preTag) {
            preTag = '**' + preTag;

            var start = doc.indexOf(preTag);
            if (start !== -1) {
                var end = doc.indexOf('\n', start) + 1;

                doc = doc.substring(0, start) + doc.substring(end);
            }
        });

        return doc;
    }
function (doc) {
        [
            'Returns',
            'Emits',
            'Access',
            'Kind'
        ].forEach(function removeLine(preTag) {
            preTag = '**' + preTag;

            var start = doc.indexOf(preTag);
            if (start !== -1) {
                var end = doc.indexOf('\n', start) + 1;

                doc = doc.substring(0, start) + doc.substring(end);
            }
        });

        return doc;
    }
function ( doc ) { [ 'Returns' , 'Emits' , 'Access' , 'Kind' ] . forEach ( function removeLine ( preTag ) { preTag = '**' + preTag ; var start = doc . indexOf ( preTag ) ; if ( start !== - 1 ) { var end = doc . indexOf ( '\n' , start ) + 1 ; doc = doc . substring ( 0 , start ) + doc . substring ( end ) ; } } ) ; return doc ; }
Returns the doc without specific api doc tags.

@function
@memberof! GruntApiDocs2ReadmeTaskHelper
@private
@param {String} doc - The document text
@returns {String} The doc without specific api doc tags
Returns the doc without specific api doc tags .