Skip to content

Commit 650943c

Browse files
Sync eng/common directory with azure-sdk-tools for PR 2035 (Azure#20825)
* Add * Add more description to docs of where the variable is consumed Co-authored-by: Daniel Jurek <djurek@microsoft.com>
1 parent 0475f51 commit 650943c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

eng/common/scripts/Update-DocsMsPackages.ps1

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,19 @@ packages which have not released to a central package manager.
1818
.PARAMETER DocRepoLocation
1919
Location of the docs.microsoft.com reference docs repo.
2020
21+
.PARAMETER PackageSourceOverride
22+
Optional parameter to supply a different package source (useful for daily dev
23+
docs generation from pacakges which are not published to the default feed). This
24+
variable is meant to be used in the domain-specific business logic in
25+
&$UpdateDocsMsPackagesFn
26+
2127
#>
2228
param (
2329
[Parameter(Mandatory = $true)]
24-
$DocRepoLocation # the location of the cloned doc repo
30+
[string] $DocRepoLocation, # the location of the cloned doc repo
31+
32+
[Parameter(Mandatory = $false)]
33+
[string] $PackageSourceOverride
2534
)
2635

2736
. (Join-Path $PSScriptRoot common.ps1)

0 commit comments

Comments
 (0)