Sync eng/common directory with azure-sdk-tools for PR 2035 (#2918)

* Add

* Add more description to docs of where the variable is consumed

Co-authored-by: Daniel Jurek <djurek@microsoft.com>
This commit is contained in:
Azure SDK Bot 2021-09-24 13:10:58 -07:00 committed by GitHub
parent b02dec3cf5
commit 9ffa5c06cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)