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
Copy file name to clipboardExpand all lines: docs/syntax/changelog.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ The directive supports the following options:
25
25
|`:type: value`| Filter entries by type | Excludes separated types |
26
26
|`:subsections:`| Group entries by area/component | false |
27
27
|`:link-visibility: value`| Visibility of pull request (PR) and issue links |`auto`|
28
+
|`:description-visibility: value`| Visibility of changelog **record** descriptions (YAML `description` on each entry) |`auto`|
28
29
|`:config: path`| Path to `changelog.yml` configuration | auto-discover |
29
30
30
31
### Example with options
@@ -34,6 +35,7 @@ The directive supports the following options:
34
35
:type: all
35
36
:subsections:
36
37
:link-visibility: keep-links
38
+
:description-visibility: keep-descriptions
37
39
:::
38
40
```
39
41
@@ -114,6 +116,18 @@ Bundles whose repo is listed as private in `assembler.yml` hide links by default
114
116
115
117
This aligns with the `changelog render` command's link visibility controls.
116
118
119
+
#### `:description-visibility:`
120
+
121
+
Controls whether the **`description`** text on each **changelog record** appears in output (bullet body text under each item, and the first paragraph inside breaking-change, deprecation, known-issue, and highlight dropdowns). This is **different** from the optional **bundle**`description` field (release intro prose after `_Released:_`), which is always shown when present. See [Rendered output](#rendered-output).
122
+
123
+
| Value | Behavior |
124
+
|-------|----------|
125
+
|`auto`| When **every** constituent repository in the bundle’s resolved repo identity is **public** (same private-repo detection as `:link-visibility:` from `assembler.yml`, including `repo1+repo2` merged bundles), **omit** record `description` bodies. When **any** constituent is marked **private**, **show** those bodies. In standalone builds without `assembler.yml`, every repo is treated as public ⇒ record descriptions are omitted under `auto`. |
126
+
|`keep-descriptions`| Always render record descriptions when present in the bundle source. Use this on pages such as deprecations or breaking changes when you still want full release-note prose alongside public repos. |
127
+
|`hide-descriptions`| Always omit record `description` bodies (titles, PR/issue links, Impact and Action sections, and bundle-level intros are unaffected). |
128
+
129
+
**Contrast with `:link-visibility:`:**`:link-visibility: auto` hides **links** when a repo is **private**. `:description-visibility: auto`**shows** richer record **description** prose when **any** source repo is **private**, and hides that prose for bundles that resolve to **only public** repositories.
130
+
117
131
#### `:subsections:`
118
132
119
133
When enabled, entries are grouped by "area" within each section.
@@ -254,6 +268,8 @@ When present, the `release-date` field is rendered immediately after the version
254
268
255
269
Bundle descriptions are rendered when present in the bundle YAML file. The description appears after the release date (if any) but before any entry sections. Descriptions support Markdown formatting including links, lists, and multiple paragraphs.
256
270
271
+
**Record descriptions:** Each changelog entry may have its own `description` field in YAML (shown as body text under list items or as the introductory paragraph inside dropdowns). Visibility of **these** descriptions is controlled with `:description-visibility:` (defaults to `auto`; see Option details section). Do not confuse bundle `description` (intro prose) with per-record `description` (entry bodies).
0 commit comments