-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move capitalization logic into getPackageDisplayName (#2625)
This pull request clarifies the purpose and use of a package name for display reasons. Prior to this change, when generating front matter, a provider's display name would be put through a capitalization logic that would capitalize each word in the name, even if the word was in all caps already. E.g.: `Palo Alto Networks Cloud NGFW For AWS Provider` -> `Palo Alto Networks Cloud Ngfw For Aws Provider` This change ensures that whatever is passed into `info.DisplayName` in the provider remains unaltered. It also unblocks the setting up of automatic index docs for https://github.com/pulumi/pulumi-cloudngfwaws. I've also updated the function name to clarify it is specifically about finding or generating a display name.
- Loading branch information
Showing
4 changed files
with
28 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters