rtd_theme_addons
Patches the Read The Docs Sphinx Theme.
Warning
These modifications only work in the Read The Docs Theme
Note
Extension is automatically loaded when added to extensions, no directives or configurations required.
Modifications:
Permit nested admonitions of differing class
Note
Error
The inner admonition should appear in a different colour to the outer one.
Permit linking admonitions
Example
When hovering the title of this admonition a link symbol should appear.
Add warning symbols before deprecated items.
Deprecated since version 1.2.3: Oh no!
Make versionchanged items more prominent.
Changed in version 1.2.3: Something changed!
Restyle code-block captions
$ echo 'hello world'
Address lack of whitespace under lists in admonitions
Example
Darmok
Jalad
Temba, his arms wide.
Improve sidebar scrolling
Extension is automatically loaded for all code diffs when it is added to a project’s Sphinx extensions. No directives required.