From 650943c16cff9bf2d37dd87b359435a40f3d9eda Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Fri, 24 Sep 2021 13:11:08 -0700 Subject: [PATCH] Sync eng/common directory with azure-sdk-tools for PR 2035 (#20825) * Add * Add more description to docs of where the variable is consumed Co-authored-by: Daniel Jurek --- eng/common/scripts/Update-DocsMsPackages.ps1 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/eng/common/scripts/Update-DocsMsPackages.ps1 b/eng/common/scripts/Update-DocsMsPackages.ps1 index f93e6cb058b4..562cc307bef5 100644 --- a/eng/common/scripts/Update-DocsMsPackages.ps1 +++ b/eng/common/scripts/Update-DocsMsPackages.ps1 @@ -18,10 +18,19 @@ packages which have not released to a central package manager. .PARAMETER DocRepoLocation Location of the docs.microsoft.com reference docs repo. +.PARAMETER PackageSourceOverride +Optional parameter to supply a different package source (useful for daily dev +docs generation from pacakges which are not published to the default feed). This +variable is meant to be used in the domain-specific business logic in +&$UpdateDocsMsPackagesFn + #> param ( [Parameter(Mandatory = $true)] - $DocRepoLocation # the location of the cloned doc repo + [string] $DocRepoLocation, # the location of the cloned doc repo + + [Parameter(Mandatory = $false)] + [string] $PackageSourceOverride ) . (Join-Path $PSScriptRoot common.ps1)