Sync eng/common directory with azure-sdk-tools for PR 1366 (#556)
* Scan all duplicate artifacts which set hide to true * Update eng/common/docgeneration/Generate-DocIndex.ps1 Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com> * Update Generate-DocIndex.ps1 Co-authored-by: Sima Zhu <sizhu@microsoft.com> Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
This commit is contained in:
Родитель
718eb3adb9
Коммит
c52de0984a
|
@ -65,12 +65,7 @@ function Get-TocMapping {
|
|||
$orderServiceMapping = @{}
|
||||
|
||||
foreach ($artifact in $artifacts) {
|
||||
$packageInfo = $metadata | ? {$_.Package -eq $artifact}
|
||||
|
||||
if ($packageInfo -and $packageInfo[0].Hide -eq 'true') {
|
||||
LogDebug "The artifact $artifact set 'Hide' to 'true'."
|
||||
continue
|
||||
}
|
||||
$packageInfo = $metadata | ? { $_.Package -eq $artifact -and $_.Hide -ne "true" }
|
||||
$serviceName = ""
|
||||
$displayName = ""
|
||||
if (!$packageInfo) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче