@mscharley/api-documenter-hugo
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -18,4 +18,4 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. | ||
argumentName: 'FOLDER1', | ||
description: 'Specifies the input folder containing the *.api.json files to be processed.' + | ||
' If omitted, the default is "./input"', | ||
description: 'Specifies the input folder containing the *.api.json files to be processed.' | ||
+ ' If omitted, the default is "./input"', | ||
}); | ||
@@ -26,5 +26,5 @@ this._outputFolderParameter = this.defineStringParameter({ | ||
argumentName: 'FOLDER2', | ||
description: 'Specifies the output folder where the documentation will be written.' + | ||
' ANY EXISTING CONTENTS WILL BE DELETED!' + | ||
` If omitted, the default is "./${this.actionName}"`, | ||
description: 'Specifies the output folder where the documentation will be written.' | ||
+ ' ANY EXISTING CONTENTS WILL BE DELETED!' | ||
+ ` If omitted, the default is "./${this.actionName}"`, | ||
}); | ||
@@ -63,5 +63,5 @@ } | ||
} | ||
else if (result.resolvedApiItem instanceof ApiDocumentedItem && | ||
result.resolvedApiItem.tsdocComment && | ||
result.resolvedApiItem !== apiItem) { | ||
else if (result.resolvedApiItem instanceof ApiDocumentedItem | ||
&& result.resolvedApiItem.tsdocComment | ||
&& result.resolvedApiItem !== apiItem) { | ||
this._copyInheritedDocs(apiItem.tsdocComment, result.resolvedApiItem.tsdocComment); | ||
@@ -68,0 +68,0 @@ } |
@@ -412,3 +412,3 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. | ||
const apiMembers = apiContainer.kind === ApiItemKind.Package | ||
? apiContainer.entryPoints[0].members | ||
? apiContainer.entryPoints.flatMap((ep) => ep.members) | ||
: apiContainer.members; | ||
@@ -415,0 +415,0 @@ for (const apiMember of apiMembers) { |
{ | ||
"name": "@mscharley/api-documenter-hugo", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
@@ -30,3 +30,3 @@ "type": "module", | ||
"@types/js-yaml": "4.0.9", | ||
"@types/node": "20.11.30", | ||
"@types/node": "20.12.7", | ||
"@types/resolve": "1.20.6", | ||
@@ -33,0 +33,0 @@ "jest": "29.7.0", |
@@ -547,3 +547,3 @@ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. | ||
= apiContainer.kind === ApiItemKind.Package | ||
? (apiContainer as ApiPackage).entryPoints[0].members | ||
? (apiContainer as ApiPackage).entryPoints.flatMap((ep) => ep.members) | ||
: (apiContainer as ApiNamespace).members; | ||
@@ -550,0 +550,0 @@ |
Sorry, the diff of this file is not supported yet
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
93
582751