You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In VS Code I have set a break point on new-externalHelp but the important part is the line $xml = $r.MamlModelToString($maml) (912 in the .PSM1 file for v 0.14.2 )
After this line has run examine $maml.links and the last part $xml.
The first line is a fully qualified path. When the markdown is translated to HTML for on-line help the other links are translated to suitable paths (including removing the MD from names of other topics.
However when it is translated here, the relative links are not processed,
so the end of the xml looks like this
Some links (about_ and other cmdlets) make sense. Others "Writing...." ones don't
Expected behavior
Get-Help Get-help has section which looks like RELATED LINKS Online Version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/get-help?view=powershell-7.2&WT.mc_id=ps-gethelp... Writing Help for PowerShell Cmdlets https://docs.microsoft.com/en-us/powershell/scripting/developer/help/writing-help-for-windows-powershell-cmdlets
Actual behavior
It looks like RELATED LINKS Online Version: https://docs.microsoft.com/powershell/module/microsoft.powershell.core/get-help?view=powershell-7.2&WT.mc_id=ps-gethelp... Writing Help for PowerShell Cmdlets
Error details
No message
Environment data
Directory: C:\Program Files\WindowsPowerShell\Modules
ModuleType Version PreRelease Name PSEdition ExportedCommands
--------------------------------------------------------
Script 0.14.2 platyPS Desk {New-MarkdownHelp,Get-MarkdownMetadata,New-ExternalHelp,New-YamlHelp}
Name Value
---------
PSVersion 7.2.6
PSEdition Core
GitCommitId 7.2.6
OS Microsoft Windows 10.0.22000
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Visuals
No response
The text was updated successfully, but these errors were encountered:
Prerequisites
Steps to reproduce
new-externalHelp
but the important part is the line $xml = $r.MamlModelToString($maml) (912 in the .PSM1 file for v 0.14.2 )The first line is a fully qualified path. When the markdown is translated to HTML for on-line help the other links are translated to suitable paths (including removing the MD from names of other topics.
However when it is translated here, the relative links are not processed,
so the end of the xml looks like this
Some links (about_ and other cmdlets) make sense. Others "Writing...." ones don't
Expected behavior
Actual behavior
Error details
No message
Environment data
Visuals
No response
The text was updated successfully, but these errors were encountered: