From f960da1ee2173579dc296666d4e60ca8d2ed48e0 Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Thu, 31 Aug 2023 04:19:11 +0000 Subject: [PATCH] Add fixes to service level overview generation --- eng/common/scripts/Service-Level-Readme-Automation.ps1 | 2 +- eng/scripts/docs/Docs-ToC.ps1 | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/eng/common/scripts/Service-Level-Readme-Automation.ps1 b/eng/common/scripts/Service-Level-Readme-Automation.ps1 index 2d0e5c67920a9..23d98899b278c 100644 --- a/eng/common/scripts/Service-Level-Readme-Automation.ps1 +++ b/eng/common/scripts/Service-Level-Readme-Automation.ps1 @@ -50,7 +50,7 @@ param( Set-StrictMode -Version 3 $fullMetadata = Get-CSVMetadata -$monikers = @("latest", "preview") +$monikers = @('latest', 'preview', 'legacy') foreach($moniker in $monikers) { # The onboarded packages return is key-value pair, which key is the package index, and value is the package info from {metadata}.json # E.g. diff --git a/eng/scripts/docs/Docs-ToC.ps1 b/eng/scripts/docs/Docs-ToC.ps1 index 6efe552725e4f..2611455cc41eb 100644 --- a/eng/scripts/docs/Docs-ToC.ps1 +++ b/eng/scripts/docs/Docs-ToC.ps1 @@ -110,7 +110,10 @@ function Get-dotnet-OnboardedDocsMsPackagesForMoniker ($DocRepoLocation, $monike $onboardingSpec = "$DocRepoLocation/bundlepackages/azure-dotnet.csv" if ("preview" -eq $moniker) { $onboardingSpec = "$DocRepoLocation/bundlepackages/azure-dotnet-preview.csv" + } elseif ('legacy' -eq $moniker) { + $onboardingSpec = "$DocRepoLocation/bundlepackages/azure-dotnet-legacy.csv" } + $onboardedPackages = @{} $packageInfos = Get-DocsCiConfig $onboardingSpec foreach ($packageInfo in $packageInfos) {