Skip to content

CommonParameters block not included in YAML output #540

Closed
@sdwheeler

Description

@sdwheeler

Steps to reproduce

New-YamlHelp -Path C:\Git\PS-Docs\PowerShell-Docs\reference\7.1\Microsoft.PowerShell.Archive\Expand-Archive.md -OutputFolder .

Expected behavior

Examine the web page and see the CommonParamters paragraph (https://docs.microsoft.com/powershell/module/microsoft.powershell.archive/expand-archive#notes)

Get-Help Expand-Archive

...
    <CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see
        about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS
    System.String
        You can pipe a string that contains a path to an existing archive file.
...

Actual behavior

Examine the Yaml file created. There is no information about CommonParameters. So this information is missing from the published web page.

Environment data

0.14.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-YamlIssue concerns conversion to Yaml

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions