pulumi/pkg/codegen/docs/templates
Sean Holung 23313d6b0a
Fix deprecation note formatting (#15495)
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)
2024-03-02 06:02:03 +00:00
..
constructor_args.tmpl Remove leading and trailing whitespace in resource properties (#6959) 2021-05-04 17:59:30 -07:00
constructor_params.tmpl Extend API doc generation 2022-05-04 10:00:53 +02:00
enums.tmpl Fix deprecation note formatting (#15495) 2024-03-02 06:02:03 +00:00
examples.tmpl Extend API doc generation 2022-05-04 10:00:53 +02:00
function.tmpl [docsgen] Fix rendering of deprecated messages and text in description lists (#13773) 2023-08-26 17:36:28 +00:00
header.tmpl [codegen/docs] Update API docs templates to include layout front-matter param (#8242) 2021-10-17 22:36:31 -07:00
index.tmpl [codegen/docs] Update API docs templates to include layout front-matter param (#8242) 2021-10-17 22:36:31 -07:00
index_categories.tmpl remove icons 2023-06-09 14:13:11 -04:00
package_details.tmpl update package details template 2023-01-12 14:11:03 -08:00
properties.tmpl Fix deprecation note formatting (#15495) 2024-03-02 06:02:03 +00:00
read_inputs.tmpl Update the resource-docs templates 2020-03-30 14:38:29 -07:00
resource.tmpl Add ability to process docs without dedicated Examples logic (#15475) 2024-02-23 18:06:44 +00:00
utils.tmpl Add data attribute tag for swifttype to resource property element (#9226) 2022-03-21 10:36:04 -07:00
yaml_constructor.tmpl Extend API doc generation 2022-05-04 10:00:53 +02:00