Permalink
Browse files

ignore module deps in --api

  • Loading branch information...
1 parent 59ba3e5 commit 1d59fdeb1e75e9de180608c5c430e8a2ba5757b0 @tj committed Oct 1, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/api.js
View
@@ -8,6 +8,7 @@ module.exports = function(comments){
var ctx = comment.ctx;
var desc = comment.description;
if (!ctx) return;
+ if (~desc.full.indexOf('Module dependencies')) return;
if (!ctx.string.indexOf('module.exports')) return;
buf.push('## ' + ctx.string.replace('.prototype.', '#'));
buf.push('');

0 comments on commit 1d59fde

Please sign in to comment.