Comparing version 1.8.0 to 1.8.1
12
index.js
@@ -60,10 +60,11 @@ var util = require('./util.js'), | ||
dox.forEach(function(d) { | ||
var returns, access; | ||
var access = getTag(d.tags, 'access'); | ||
// do not generate documentation for private members | ||
if (access && access.string === 'private') return; | ||
var name = '', mod; | ||
if (alias = getTag(d.tags, ['alias', 'function', 'func', 'method'])) { | ||
var name = ''; | ||
var alias = getTag(d.tags, ['alias', 'function', 'func', 'method']); | ||
var mod = getTag(d.tags, 'module'); | ||
if (alias) { | ||
name = alias.string; | ||
} else if (mod = getTag(d.tags, 'module')) { | ||
} else if (mod) { | ||
name = mod.string.replace('/', '.'); | ||
@@ -112,3 +113,4 @@ } else { | ||
if (returns = getTag(d.tags, ['returns', 'return'])) { | ||
var returns = getTag(d.tags, ['returns', 'return']); | ||
if (returns) { | ||
log('\n**Returns** `%s`, %s\n', returns.types.join(','), reformat(returns.description)); | ||
@@ -115,0 +117,0 @@ } |
{ | ||
"name": "doxme", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "create markdown docs for dox output", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14932
221