Skip to content

Commit

Permalink
Sync eng/common directory with azure-sdk-tools for PR 1393 (#14294)
Browse files Browse the repository at this point in the history
* Hide the package which set to true instead of putting to Other page

* Hide the package not showing in csv

* Added logging message

* fix the variable

* leave an extra space

* Update eng/common/docgeneration/Generate-DocIndex.ps1

Co-authored-by: Sima Zhu <sizhu@microsoft.com>
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 10, 2021
1 parent 2322783 commit 19fb1ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions eng/common/docgeneration/Generate-DocIndex.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ function Get-TocMapping {
$serviceName = ""
$displayName = ""
if (!$packageInfo) {
LogWarning "There is no artifact $artifact. Please check csv of Azure/azure-sdk/_data/release/latest repo if this is intended. "
# If no service name retrieved, print out warning message, and put it into Other page.
$serviceName = "Other"
LogDebug "There is no service name for artifact $artifact or it is marked as hidden. Please check csv of Azure/azure-sdk/_data/release/latest repo if this is intended. "
continue
}
elseif (!$packageInfo[0].ServiceName) {
LogWarning "There is no service name for artifact $artifact. Please check csv of Azure/azure-sdk/_data/release/latest repo if this is intended. "
Expand Down

0 comments on commit 19fb1ff

Please sign in to comment.