Skip to content

Commit

Permalink
Add support for plugins in scoped modules apidoc#51
Browse files Browse the repository at this point in the history
  • Loading branch information
rottmann committed Jan 13, 2017
1 parent 6478bb6 commit 9116028
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/plugin_loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ PluginLoader.prototype.detectPugins = function(dir) {
// Every dir start with "apidoc-plugin-", because for the tests of apidoc-plugin-test.
var plugins;
try {
plugins = glob.sync(dir + '/apidoc-plugin-*');
plugins = glob.sync(dir + '/apidoc-plugin-*')
.concat( glob.sync(dir + '/@*/apidoc-plugin-*') );
} catch (e) {
app.log.warn(e);
return;
Expand Down

0 comments on commit 9116028

Please sign in to comment.