typedoc-plugin-markdown
Advanced tools
Comparing version 1.1.9 to 1.1.10
@@ -8,4 +8,4 @@ "use strict"; | ||
var isGitBook = theme_service_1.ThemeService.getMarkdownEngine() === markdown_engine_enum_1.MarkdownEngine.GITBOOK; | ||
var classModule = member.children ? member.children[0].kind === index_1.ReflectionKind.Class : false; | ||
var enumModule = member.children ? member.children[0].kind === index_1.ReflectionKind.Enum : false; | ||
var classModule = member.children && member.children.length ? member.children[0].kind === index_1.ReflectionKind.Class : false; | ||
var enumModule = member.children && member.children.length ? member.children[0].kind === index_1.ReflectionKind.Enum : false; | ||
if (member.displayReadme && isGitBook || | ||
@@ -12,0 +12,0 @@ (isGitBook && member.kind === index_1.ReflectionKind.Class) || |
@@ -6,3 +6,3 @@ "use strict"; | ||
var options = theme_service_1.ThemeService.getOptions(); | ||
if (options.excludePrivate && item.flags.isPrivate) { | ||
if ((item.children && item.children.length === 0) || (options.excludePrivate && item.flags.isPrivate)) { | ||
return opts.inverse(this); | ||
@@ -9,0 +9,0 @@ } |
{ | ||
"name": "typedoc-plugin-markdown", | ||
"version": "1.1.9", | ||
"version": "1.1.10", | ||
"description": "A plugin for Typedoc that exposes a theme and additional arguments for rendering markdown.", | ||
@@ -12,7 +12,6 @@ "main": "dist/index.js", | ||
"copy:plugin": "copyfiles package.json './dist/**/*' node_modules/typedoc-plugin-markdown/", | ||
"mocks": "npm run mocks:github && npm run mocks:bitbucket && npm run mocks:gitbook && npm run mocks:html", | ||
"mocks": "npm run mocks:github && npm run mocks:bitbucket && npm run mocks:gitbook", | ||
"mocks:github": "typedoc ./test/src --out ./test/out/github --theme markdown --gitRevision master --media test/src/media/ --includes test/src/inc/", | ||
"mocks:bitbucket": "typedoc ./test/src --out ./test/out/bitbucket --theme markdown --gitRevision master --media test/src/media/ --includes test/src/inc/ --excludePrivate --readme none --mode file --mdFlavour bitbucket --mdSourceRepo 'https://bitbucket.org/owner/repository_name'", | ||
"mocks:gitbook": "typedoc ./test/src --out ./test/out/gitbook --theme markdown --gitRevision master --mdEngine gitbook --media test/src/media/ --includes test/src/inc/", | ||
"mocks:html": "typedoc ./test/src --out test/out/html --media test/src/media/ --includes test/src/inc/", | ||
"examples": "rm -rf examples/out && typedoc ./examples/src --out ./examples/out --theme markdown --gitRevision master --readme none --media test/src/media/ --includes test/src/inc/", | ||
@@ -19,0 +18,0 @@ "lint": "tslint --project ./src/tsconfig.json", |
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
39032