docs: function (grunt, apiDocs, apiDocLink, occurrence) {
          occurrence = occurrence || 1;
  
          var linkString = '<a name="' + apiDocLink + '"></a>';
          var index = -1;
          var occurrenceIndex;
          for (occurrenceIndex = 0; occurrenceIndex < occurrence; occurrenceIndex++) {
              index = apiDocs.indexOf(linkString, index + 1);
  
              if (index === -1) {
                  grunt.fail.warn(new Error('API link: ' + apiDocLink + ' not found.'));
              }
          }
  
          return index;
      }