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 order to have a documentation that is easier to access, easier to edit and maintain, and more flexible, we shall use PlatyPS for the help of the function. Discussion on this topic: AtlassianPS/AtlassianPS#1
Task
Migrate all Comment Based Help to .md files in /docs
I'd still recommend minimal comment based help. SYNOPSIS and LINK would probably be best. That way if I do Get-Help Get-Branch -Online I'd be sent to the online help page.
disagree. An user should be able to get basic help (including samples) from help <My-Command>.
Further: the online help would not be aligned to the version the user has installed. So maybe a parameter was added, which he cannot use without updating (which will not be specified in the online help).
The online help will indeed show the latest version of the documentation of the function. but it will not be versioned.
An argument can be made, that generating an online .cab file with the help, which the user can get for local usage with Update-Help. This would allow the module to deploy fixes to the help without requiring a new release.
However, this would also require the module to be smart enough to know what help .cab file to deploy the what version of the module.
Oh good! I actually prefer full comment based help, but I thought the issue was to move AWAY from that to markdown. I assume the cbh will be pulled out at CI/CD?
No. this moves away from CBH. and uses External Help instead...
basically, the help engine parses the comments for the CBH. this is very flawed; and used as a simple way to get help for cmdlets...
for more sophisticated help, you need to provide an external help... this can be:
Description
In order to have a documentation that is easier to access, easier to edit and maintain, and more flexible, we shall use PlatyPS for the help of the function.
Discussion on this topic: AtlassianPS/AtlassianPS#1
Task
.md
files in/docs
.md
files (.EXAMPLE
block can have more that 1 command in it)about_<module>
The text was updated successfully, but these errors were encountered: