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
I have an issue regarding the generation process of external help files. Whenever I'm using a module with a dash in its name, platyPS returns an error.
The funny thing is that whenever I rename the module it just works perfectly fine.
Steps to reproduce
Created two markdown files in the .\docs directory:
Invoke-Test.md
Module-Justin.md
Module-Justin.md is a module markdown file with the following contents:
Yeah, I think we use a crappy heuristic to distinguish the module help from the individual cmdlets help. Perhaps passing the explicit -ModulePage parameter would solve it for you?
I have an issue regarding the generation process of external help files. Whenever I'm using a module with a dash in its name, platyPS returns an error.
The funny thing is that whenever I rename the module it just works perfectly fine.
Steps to reproduce
Created two markdown files in the .\docs directory:
Module-Justin.md is a module markdown file with the following contents:
Invoke-Test.md:
Ran this command to generate external help:
New-ExternalHelp -Path ".\docs" -OutputPath ".\en-US" -Force
Expected behavior
platyPS
New-ExternalHelp
should work with module .md files that contain a dash.Actual behavior
New-ExternalHelp returns this error:
Environment data
OS: Windows 10 1803
PowerShell: 5.1.17134.590
PlatyPS: v0.12.0
The text was updated successfully, but these errors were encountered: