Skip to content

Fix Get-Help for advanced functions with MAML help content - #8353

Merged
Aditya Patwardhan (adityapatwardhan) merged 8 commits into
PowerShell:masterfrom
adityapatwardhan:UpdateStaticHelpContent
Nov 30, 2018
Merged

Aditya Patwardhan (adityapatwardhan) merged 8 commits into
PowerShell:masterfrom
adityapatwardhan:UpdateStaticHelpContent

Conversation

@adityapatwardhan

@adityapatwardhan Aditya Patwardhan (adityapatwardhan) commented Nov 28, 2018 •

Copy link
Copy Markdown
Member

PR Summary

If a module has advanced function and the help defined in MAML then the help file was not found under user scope.
This change updates the logic to look in a sub-folder for the module name under user scope help root.

Also enabled tests for Microsoft.PowerShell.Archive module and removed tests for PSReadLine.

PSReadLine tests were removed as the updatable help content does not have the latest help for v2.0.0

PR Checklist

@adityapatwardhan Aditya Patwardhan (adityapatwardhan) changed the title Update the static test content for PSReadline v2 Fix Get-Help for advanced functions with MAML help content Nov 29, 2018
@adityapatwardhan Aditya Patwardhan (adityapatwardhan) added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Nov 29, 2018
The name of the module and hence the help file name change in PSReadline version 2.
The cab and the zip files have the latest help content.
The updatable help content is not correct for PSReadLine module due to issue PowerShell/PSReadLine#819

Removed the module from help testing.

Also enabling tests for Microosoft.PowerShell.Archive covers the scenarios PSReadLine module was used for.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants