Skip to content

Deprecation directive appears to render incorrectly #596

Closed Answered by dgw
pushfoo asked this question in Potential Issue
Discussion options

You must be logged in to vote

I don't believe it's supposed to be classed as an admonition. The Sphinx docs you linked say it's "similar to versionchanged", which is not an admonition either. Furo renders .. deprecated:: almost identically to the other themes I've used or seen, including the main Python documentation (example).

Note that Sphinx themes generally do not modify the HTML output of the documentation itself. When Sphinx loads a theme, it fills placeholders in the layout with the generated HTML, and the layout includes the theme's styles/scripts to define its appearance/behavior.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pushfoo
Comment options

Answer selected by pushfoo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants