Skip to content

Conversation

@jdknight
Copy link
Member

Warning are subjectively a yellow-hinted admonition. While we mapped a reStructuredText warning to a Confluence warning, a Confluence warning type is red-hinted. This commit adjusts the mapping to have warning nodes to now create Confluence note macros.

This change also introduces an undocumented confluence_adv_admonition_overrides configuration, allowing users to override the mapping between admonition types to Confluence macro types.

Warning are subjectively a yellow-hinted admonition. While we mapped a
reStructuredText warning to a Confluence warning, a Confluence warning
type is red-hinted. This commit adjusts the mapping to have warning
nodes to now create Confluence note macros.

Signed-off-by: James Knight <[email protected]>
Allow advanced users to tailor the mapping of admonition type to
Confluence macros used.

Signed-off-by: James Knight <[email protected]>
An update [1] to adjust warning directives to map to Confluence note
types was made. Updating the unit test to handle this.

[1]: dbc3660

Signed-off-by: James Knight <[email protected]>
Signed-off-by: James Knight <[email protected]>
@jdknight jdknight added this to the 3.1 milestone Jan 24, 2026
@jdknight jdknight merged commit 06ec395 into main Jan 24, 2026
27 checks passed
@jdknight jdknight deleted the adjust-warning-node-to-note-macro branch January 24, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants