mirror of https://github.com/pulumi/pulumi.git
23313d6b0a
fixes: https://github.com/pulumi/registry/issues/3983 This PR fixes up some issues with our deprecation message formatting. The deprecation messages attached to enums were not being formatted at all, due to a missing css class. Secondly, I also noticed there was a whitespace missing in the deprecation message when it renders in the browser, due to the leading `-` in `{{- .... -}}`, so I addressed that here as well. ### enum deprecation before: ![Screen Shot 2024-02-22 at 10 20 34 AM](https://github.com/pulumi/pulumi/assets/16751381/89cf20b7-ad05-4085-9a42-fd73f964e250) after: ![Screen Shot 2024-02-22 at 9 54 43 AM](https://github.com/pulumi/pulumi/assets/16751381/a95a8302-e40f-43aa-96a2-44f14b505571) ### fix whitespace after "Deprecated:" before: ![Screen Shot 2024-02-22 at 10 20 53 AM](https://github.com/pulumi/pulumi/assets/16751381/53f088fa-5f46-45e4-b217-536b0affa0cf) after: ![Screen Shot 2024-02-22 at 9 54 29 AM](https://github.com/pulumi/pulumi/assets/16751381/fbc687a7-43aa-4b80-9f3b-cd3d9f3255a0) |
||
---|---|---|
.. | ||
constructor_args.tmpl | ||
constructor_params.tmpl | ||
enums.tmpl | ||
examples.tmpl | ||
function.tmpl | ||
header.tmpl | ||
index.tmpl | ||
index_categories.tmpl | ||
package_details.tmpl | ||
properties.tmpl | ||
read_inputs.tmpl | ||
resource.tmpl | ||
utils.tmpl | ||
yaml_constructor.tmpl |