You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The YAML file name is for organizational purposes only. However, make sure that the image configuration file lives in the correct repository directory.
70
+
69
71
See `docs/src/data/template/image-template.yml` for all available fields.
70
72
71
73
### Step 2: Regenerate
@@ -137,6 +139,10 @@ Release notes are generated automatically for images with `announcements` and `p
137
139
138
140
Sections render in YAML order as bullet lists.
139
141
142
+
Section headers in optional sections are rendered via the section key.
143
+
To format your optional section headers, add a new field in `docs/src/global.yml` under `display_names` section.
144
+
Eg: deprecation_notice section will render its header as `## deprecation_notice` unless a formatted string is provided in `docs/src/global.yml`.
To add additional fields, ensure that the image configuration YAML file contains said field of the same name.
191
+
Additionally, if you require the field to be formatted, add an additional attribute in `ImageConfig` class of `display_<field_name>` to grab the formatted field.
0 commit comments