Repository navigation
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: executablebooks/sphinx-togglebutton
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.2
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: executablebooks/sphinx-togglebutton
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 8 commits
- 77 files changed
- 7 contributors
Commits on Nov 23, 2023
-
docs/use: Also document
toggle-shown(#55)- This is not shown anywhere except the readme, and I just spent more than a short time looking for this option, so adding it to save everyone time. I haven't tried hard to keep it organized, but git grep says that `toggle-shown` is not anywhere in docs/.
Configuration menu - View commit details
-
Copy full SHA for fd75840 - Browse repository at this point
Copy the full SHA fd75840View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d7041f - Browse repository at this point
Copy the full SHA 0d7041fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a356c2 - Browse repository at this point
Copy the full SHA 0a356c2View commit details
Commits on Dec 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f468ca6 - Browse repository at this point
Copy the full SHA f468ca6View commit details
Commits on Sep 12, 2024
-
A11y: set aria-expanded to the toggle button. (#61)
* A11y: set aria-expanded to the toggle button. Closes Quansight-Labs/czi-scientific-python-mgmt#77 * run linter/prettify
Configuration menu - View commit details
-
Copy full SHA for 9a8272d - Browse repository at this point
Copy the full SHA 9a8272dView commit details
Commits on Feb 24, 2025
-
Configuration menu - View commit details
-
Copy full SHA for f301181 - Browse repository at this point
Copy the full SHA f301181View commit details
Commits on Jan 14, 2026
-
👌 IMPROVE: Add i18n support & general improvements (#66)
* Add i18n support and translations for togglebutton Introduces internationalization for Sphinx-ToggleButton by adding translation infrastructure, updating config values to use translated strings, and including translation files (.json, .po, .mo) for multiple languages. Updates MANIFEST.in to package translation assets and adjusts .gitignore to allow .mo files. Also adds a conversion script for generating locale files from JSON. * Include translation files in package data Added translation-related files and directories to the package_data section in setup.py to ensure they are included in the distribution. This supports proper packaging and deployment of translation resources. * Sync toggle button hints with external state changes Adds functions to synchronize toggle button hints and aria-expanded attributes with the current state. Introduces a MutationObserver to update button hints when toggle item classes change, ensuring external extensions or DOM changes are reflected in the UI. * Preserve existing IDs for admonition toggle items Update togglebutton.js to use an admonition's existing ID if present, instead of always generating a new one. This prevents overwriting custom or pre-existing IDs on admonition elements. * Refactor sphinx_togglebutton/__init__.py for readability Improved code formatting and structure for better readability and maintainability. Added blank lines for separation, split long function calls, and enhanced consistency in function definitions and configuration setup. * Refactor formatting in setup.py and _convert.py Improves code readability by reformatting lists and dictionary values in setup.py and breaking up a long path assignment in _convert.py. No functional changes were made. * Reorder imports for consistency and PEP8 compliance Imports in setup.py, __init__.py, and _convert.py were reordered to follow PEP8 guidelines and improve readability. No functional changes were made. * Refactor formatting and remove unused import Reformatted code for better readability in docs/conf.py and sphinx_togglebutton/__init__.py by expanding lists and function calls over multiple lines. Removed unused 'os' import from setup.py. * Add i18n support and document toggle button languages Updated CHANGELOG, README, and docs to document new internationalization support for toggle button texts. Added a list of supported languages and instructions for configuring language in Sphinx. Also mentioned new functions for dynamic hint updates and a fix for using existing admonition IDs. * Specify Sphinx configuration path in readthedocs.yml Added the 'sphinx.configuration' key to explicitly set the path to the Sphinx config file as 'docs/conf.py' for Read the Docs builds. * Update changelog with details on toggle hint functions Expanded the changelog entry for syncToggleHint and syncAllToggleHints to clarify that these functions allow automatic updating of button hint text when the open or closed state changes.
Configuration menu - View commit details
-
Copy full SHA for 5f4c8f7 - Browse repository at this point
Copy the full SHA 5f4c8f7View commit details -
🚀 RELEASE: version 0.4.0 (#69)
Update package version to 0.4.0 and changelog to reflect the new release date. Prepares the project for the 0.4.0 release.
Configuration menu - View commit details
-
Copy full SHA for aa94ac0 - Browse repository at this point
Copy the full SHA aa94ac0View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.3.2...v0.4.0