Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

translator: support for collapsible admonitions #1092

Merged
merged 1 commit into from
Feb 16, 2025

Conversation

jdknight
Copy link
Member

The following attempts to provide support for Sphinx v8.2's new collapsible option for admonitions. This implementation wraps the contents of an admonition block into an expand macro to handle this hint.

However, this is not pretty on Confluence (v1 and v2 editors). Not much we can do for styling approaches as we cannot manipulate macro-generated content.

The following attempts to provide support for Sphinx v8.2's new
`collapsible` option for admonitions. This implementation wraps the
contents of an admonition block into an expand macro to handle this
hint.

However, this is not pretty on Confluence (v1 and v2 editors). Not much
we can do for styling approaches as we cannot manipulate macro-generated
content.

Signed-off-by: James Knight <[email protected]>
@jdknight jdknight merged commit b2785d0 into main Feb 16, 2025
29 checks passed
@jdknight jdknight deleted the support-collapsible-admonitions branch February 16, 2025 17:08
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.

1 participant