dsccommunity / DscResource.DocGenerator

Module for generation of DSC resource documentation
MIT License
9 stars 10 forks source link

Add tasks to generate markdown for public commands #133

Closed johlju closed 11 months ago

johlju commented 11 months ago

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

None.

Task list


This change is Reviewable

codecov[bot] commented 11 months ago

Codecov Report

Attention: 18 lines in your changes are missing coverage. Please review.

Comparison is base (74bc240) 97% compared to head (87b1ae1) 96%. Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/dsccommunity/DscResource.DocGenerator/pull/133/graphs/tree.svg?width=650&height=150&src=pr&token=bSbVj9muPO&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dsccommunity)](https://app.codecov.io/gh/dsccommunity/DscResource.DocGenerator/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dsccommunity) ```diff @@ Coverage Diff @@ ## main #133 +/- ## ==================================== - Coverage 97% 96% -2% ==================================== Files 42 52 +10 Lines 885 1015 +130 ==================================== + Hits 867 980 +113 - Misses 18 35 +17 ``` | [Files](https://app.codecov.io/gh/dsccommunity/DscResource.DocGenerator/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dsccommunity) | Coverage Δ | | |---|---|---| | [source/Private/Get-CommentBasedHelp.ps1](https://app.codecov.io/gh/dsccommunity/DscResource.DocGenerator/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dsccommunity#diff-c291cmNlL1ByaXZhdGUvR2V0LUNvbW1lbnRCYXNlZEhlbHAucHMx) | `100% <100%> (ø)` | | | [source/Private/Remove-EscapedMarkdownCode.ps1](https://app.codecov.io/gh/dsccommunity/DscResource.DocGenerator/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dsccommunity#diff-c291cmNlL1ByaXZhdGUvUmVtb3ZlLUVzY2FwZWRNYXJrZG93bkNvZGUucHMx) | `100% <100%> (ø)` | | | [source/Private/Remove-MarkdownMetadataBlock.ps1](https://app.codecov.io/gh/dsccommunity/DscResource.DocGenerator/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dsccommunity#diff-c291cmNlL1ByaXZhdGUvUmVtb3ZlLU1hcmtkb3duTWV0YWRhdGFCbG9jay5wczE=) | `100% <100%> (ø)` | | | [source/Private/Remove-ParameterFromMarkdown.ps1](https://app.codecov.io/gh/dsccommunity/DscResource.DocGenerator/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dsccommunity#diff-c291cmNlL1ByaXZhdGUvUmVtb3ZlLVBhcmFtZXRlckZyb21NYXJrZG93bi5wczE=) | `100% <100%> (ø)` | | | [...e/Task.Clean\_Markdown\_Of\_Public\_Commands.build.ps1](https://app.codecov.io/gh/dsccommunity/DscResource.DocGenerator/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dsccommunity#diff-c291cmNlL1ByaXZhdGUvVGFzay5DbGVhbl9NYXJrZG93bl9PZl9QdWJsaWNfQ29tbWFuZHMuYnVpbGQucHMx) | `100% <100%> (ø)` | | | [...enerate\_External\_Help\_File\_For\_Public\_Commands.ps1](https://app.codecov.io/gh/dsccommunity/DscResource.DocGenerator/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dsccommunity#diff-c291cmNlL1ByaXZhdGUvVGFzay5HZW5lcmF0ZV9FeHRlcm5hbF9IZWxwX0ZpbGVfRm9yX1B1YmxpY19Db21tYW5kcy5wczE=) | `100% <100%> (ø)` | | | [...sk.Generate\_Markdown\_For\_Public\_Commands.build.ps1](https://app.codecov.io/gh/dsccommunity/DscResource.DocGenerator/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dsccommunity#diff-c291cmNlL1ByaXZhdGUvVGFzay5HZW5lcmF0ZV9NYXJrZG93bl9Gb3JfUHVibGljX0NvbW1hbmRzLmJ1aWxkLnBzMQ==) | `100% <100%> (ø)` | | | [source/Public/Add-NewLine.ps1](https://app.codecov.io/gh/dsccommunity/DscResource.DocGenerator/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dsccommunity#diff-c291cmNlL1B1YmxpYy9BZGQtTmV3TGluZS5wczE=) | `100% <100%> (ø)` | | | [source/Public/Edit-CommandDocumentation.ps1](https://app.codecov.io/gh/dsccommunity/DscResource.DocGenerator/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dsccommunity#diff-c291cmNlL1B1YmxpYy9FZGl0LUNvbW1hbmREb2N1bWVudGF0aW9uLnBzMQ==) | `100% <100%> (ø)` | | | [source/Public/Invoke-Git.ps1](https://app.codecov.io/gh/dsccommunity/DscResource.DocGenerator/pull/133?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dsccommunity#diff-c291cmNlL1B1YmxpYy9JbnZva2UtR2l0LnBzMQ==) | `97% <ø> (ø)` | | | ... and [10 more](https://app.codecov.io/gh/dsccommunity/DscResource.DocGenerator/pull/133?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dsccommunity) | |
johlju commented 11 months ago

I will merge this so that I can try this code on a bigger repo (SqlServerDsc). Any issues, I will fix.