Releases: executablebooks/sphinx-togglebutton
Version 0.4.4
What's Changed
Full Changelog: v0.4.3...v0.4.4
Version 0.4.3
Version 0.4.2
0.4.2 - 2026-01-14
Fixed
- Enhanced
setup.cfgwith complete metadata. - Simplified
setup.pyto just callsetup().
Full Changelog: v0.4.1...v0.4.2
Version 0.4.1
0.4.1 - 2026-01-14
Fixed
- Updated the release workflow to use a recent Python version.
Full Changelog: v0.4.0...v0.4.1
Version 0.4.0
0.4.0 - 2026-01-14
Full Changelog: v0.3.2...v0.4.0
Added
- Support for more languages in toggle button text (see README for full list) #66.
- Added new functions (syncToggleHint, syncAllToggleHints) to dynamically update toggle button hints based on the current state #66. This allows developers to change the open or closed state of an element and have the button hint text update accordingly automatically.
Fixed
- Update togglebutton.js to use an admonition's existing ID if present, instead of always generating a new one #66.
New Contributors
- @rowanc1 made their first contribution in #57
- @gabalafou made their first contribution in #59
- @Carreau made their first contribution in #61
- @basnijholt made their first contribution in #64
- @douden made their first contribution in #66
v0.3.2
v0.3.2 - 2022-07-15
Enhancements made
- Toggle arrow now points to the right, in order to more closely match the styles of other common documentation themes like Quarto and Material for MkDocs #49 (@choldgraf)
- Toggle buttons are now more minimal and take up the full width to be easier to click, style is roughly inspired by JupyterLab #47 (@choldgraf)
Bugfixes
- Fix insertion of toggle hint into nested spans #45 (@janssenhenning)
Contributors to this release
@Apteryks | @choldgraf | @janssenhenning | @tfiers |
v0.3.1
v0.3.0
This release overhauls the look and feel of the toggle buttons and icons. It also improves some of the hiding behavior on printing.
Here are the major updates:
Enhance toggle button design and layout #32 (@choldgraf)
Toggle buttons are now simpler, using an SVG that can also by styled/colored. The block-level toggle button is now in-line with the page's content rather than off to the side, and is styled to behave similar to GitHub's buttons.
Allow clicking on whole admonition title #29 (@rkdarst)
For dropdown admonitions, the entire title area will behave like a button that you can click.
Improve hiding behavior for togglebuttons #33 (@choldgraf)
Printing will now cause all toggle-able content to show up by default.