PowerShell / platyPS

Write PowerShell External Help in Markdown
MIT License
762 stars 148 forks source link

Changes needed for the OSP preview - set 1 #632

Closed JamesWTruher closed 3 months ago

JamesWTruher commented 4 months ago

PR Summary

Add more tests for export-yamlcommandhelp. Provide a way to preserve the key order in the test function import-commandyaml. Fix the yaml writer to not trim white space at the beginning of example descriptions. Remove new-yamlhelp tests. add protection from module autoloading in the tests (in build.ps1) Remove the Get-MarkdownMetadata command. This is replaced with Import-MarkdownCommandHelp and then inspecting the metadata property. Rename file from newmarkowncommand.cs to newmarkdownhelpcommand.cs. Remove New-YamlHelp.

PR Context