File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,12 @@ try{
212
212
if (-Not (Test-Path $helpPath )) {
213
213
New-Item - Type Directory $helpPath - Force
214
214
New-MarkDownHelp - Module " Az.$ModuleRootName " - OutputFolder $helpPath - AlphabeticParamsOrder - UseFullTypeName - WithModulePage - ExcludeDontShow
215
+ $indexPath = Join-Path $helpPath " Az.$ModuleRootName .md"
216
+ $content = Get-Content - Path $indexPath
217
+ $content = $content -replace ' {{ Update Download Link }}' , " https://learn.microsoft.com/powershell/module/az.$ ( $ModuleRootName.ToLower ()) "
218
+ $content = $content -replace ' {{ Please enter version of help manually \(X.X.X.X\) format }}' , ' 1.0.0.0'
219
+ $content = $content -replace ' {{ Fill in the Description }}' , " Microsoft Azure PowerShell: $ModuleRootName cmdlets"
220
+ $content | Set-Content - Path $indexPath
215
221
}
216
222
Get-ChildItem $subModuleHelpPath - Filter *-* .md | Copy-Item - Destination (Join-Path $helpPath $_.Name ) - Force
217
223
Write-Host " Refreshing help markdown files under: $helpPath ..."
You can’t perform that action at this time.
0 commit comments