Skip to content

Commit ea4d841

Browse files
author
Sebastian S Schütze
committed
Hotfix: changed to module based help rendering since xml help file not including all content properly
1 parent acfcabf commit ea4d841

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tools/ci/Build-ModuleHelp.ps1

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if (-not (Test-Path $tmpModuleFolder)) {
1515
}
1616

1717
if (-not (Test-Path $modulePath)) {
18-
Save-Module $Module -Path $tmpModuleFolder
18+
Save-Module $Module -Path $tmpModuleFolder -Repository PSGallery
1919
}
2020

2121
if (-not (Get-Module platyPS -ListAvailable)) {
@@ -24,9 +24,8 @@ if (-not (Get-Module platyPS -ListAvailable)) {
2424

2525
$OutputFolder = "./docs/modules/$($Module.ToLower())/commands"
2626

27-
$xmlMamlHelpFile = "$tmpModuleFolder/$Module/$moduleVersion/en-US/$Module-Help.xml"
28-
29-
New-MarkdownHelp -OutputFolder $OutputFolder -MamlFile $xmlMamlHelpFile -Force
27+
Import-Module "$tmpModuleFolder/$Module"
28+
New-MarkdownHelp -OutputFolder $OutputFolder -Module $Module -Force
3029

3130
. $PSScriptRoot\Add-CustomYamMeta.ps1 -Path $OutputFolder `
3231
-BaseEditUrlPath "https://github.com/MethodsAndPractices/$($Module.ToLower())/edit/trunk/.docs"

0 commit comments

Comments
 (0)