Skip to content
Permalink

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
Choose a base ref
...
head repository: executablebooks/sphinx-togglebutton
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.4
Choose a head ref
  • 12 commits
  • 79 files changed
  • 7 contributors

Commits on Nov 23, 2023

  1. 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/.
    rkdarst authored Nov 23, 2023
    Configuration menu
    Copy the full SHA
    fd75840 View commit details
    Browse the repository at this point in the history
  2. Readthedocs config (#58)

    choldgraf authored Nov 23, 2023
    Configuration menu
    Copy the full SHA
    0d7041f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a356c2 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. Configuration menu
    Copy the full SHA
    f468ca6 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. 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
    Carreau authored Sep 12, 2024
    Configuration menu
    Copy the full SHA
    9a8272d View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2025

  1. Configuration menu
    Copy the full SHA
    f301181 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2026

  1. 👌 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.
    douden authored Jan 14, 2026
    Configuration menu
    Copy the full SHA
    5f4c8f7 View commit details
    Browse the repository at this point in the history
  2. 🚀 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.
    douden authored Jan 14, 2026
    Configuration menu
    Copy the full SHA
    aa94ac0 View commit details
    Browse the repository at this point in the history
  3. Bump version to 0.4.1 and update release workflow (#70)

    Updated the GitHub Actions test workflow to use Python 3.11 instead of 3.8. Incremented the package version to 0.4.1 and updated the changelog to reflect the workflow change.
    douden authored Jan 14, 2026
    Configuration menu
    Copy the full SHA
    b869f69 View commit details
    Browse the repository at this point in the history
  4. Update to v0.4.2 and improve packaging metadata (#71)

    Bump version to 0.4.2. Enhance setup.cfg with full metadata and dependencies, and simplify setup.py to only call setup().
    douden authored Jan 14, 2026
    Configuration menu
    Copy the full SHA
    20245cb View commit details
    Browse the repository at this point in the history
  5. Prep rls 0.4.3 (#72)

    * Update to v0.4.2 and improve packaging metadata
    
    Bump version to 0.4.2. Enhance setup.cfg with full metadata and dependencies, and simplify setup.py to only call setup().
    
    * Bump version to 0.4.3 and update tests workflow
    
    Updated the GitHub Actions tests workflow to specify the packages_dir for PyPI publishing. Updated CHANGELOG for version 0.4.3 and incremented the package version in __init__.py.
    douden authored Jan 14, 2026
    Configuration menu
    Copy the full SHA
    9465032 View commit details
    Browse the repository at this point in the history
  6. Update release workflow and bump version to 0.4.4 (#73)

    Upgraded GitHub Actions versions and corrected build commands in tests.yml for improved reliability. Updated CHANGELOG and bumped package version to 0.4.4.
    douden authored Jan 14, 2026
    Configuration menu
    Copy the full SHA
    ec20337 View commit details
    Browse the repository at this point in the history
Loading