Skip to content

Releases: executablebooks/sphinx-togglebutton

Version 0.4.5

Choose a tag to compare

@douden douden released this 27 Mar 13:50
76bb31f

What's Changed

  • Fix selector for admonition title in togglebutton.js by @douden in #77

Full Changelog: v0.4.4...v0.4.5

Version 0.4.4

Choose a tag to compare

@douden douden released this 14 Jan 14:32
ec20337

What's Changed

  • Update release workflow and bump version to 0.4.4 by @douden in #73

Full Changelog: v0.4.3...v0.4.4

Version 0.4.3

Choose a tag to compare

@douden douden released this 14 Jan 14:23
9465032

0.4.3 - 2026-01-14

Fixed

  • Added missing information in tests.yml.

Full Changelog: v0.4.2...v0.4.3

Version 0.4.2

Choose a tag to compare

@douden douden released this 14 Jan 14:13
20245cb

0.4.2 - 2026-01-14

Fixed

  • Enhanced setup.cfg with complete metadata.
  • Simplified setup.py to just call setup().

Full Changelog: v0.4.1...v0.4.2

Version 0.4.1

Choose a tag to compare

@douden douden released this 14 Jan 14:06
b869f69

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

Choose a tag to compare

@douden douden released this 14 Jan 13:42
aa94ac0

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

v0.3.2

Choose a tag to compare

@choldgraf choldgraf released this 15 Jul 12:07
d6bbae6

v0.3.2 - 2022-07-15

(full changelog)

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

Contributors to this release

@Apteryks | @choldgraf | @janssenhenning | @tfiers |

v0.3.1

Choose a tag to compare

@choldgraf choldgraf released this 26 Mar 21:21
0fe9e61

v0.3.0

Choose a tag to compare

@choldgraf choldgraf released this 06 Feb 01:20
a7f4a42

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.

v0.2.3

Choose a tag to compare

@choldgraf choldgraf released this 25 Oct 14:21

Patch release to set the z-index of the button to 100 (per #27)