Sitelet https://github.com/msorens/DocTreeGenerator/issues/11
Skip to content

Wildcard in Namespace selector should be resolved before using for page title #11

Description

@msorens

If multiple namespaces are specified for the Namespaces parameter, the page title for the home and contents pages is just the DocTitle parameter (or default). But if there is only a single namespace specified, the page title is that single namespace concatenated with the DocTitle parameter (or default). This determination is made on the literal Namespaces value passed in, even if it contains globbing wildcards and thus might resolve to multiple namespaces.

While technically that approach is valid, it would be more natural that the following two commands produce the same behavior:

PS> Convert-HelpToHtmlTree -Namespaces ns1, ns2
PS> Convert-HelpToHtmlTree -Namespaces ns*

Which is to say, to determine that multiple namespaces have been specified.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions