Dropdown Toggle
Introduction
This Sphinx extension adds a button to open/close all dropdowns simultaneously, provided at least one dropdown is present.
This extension also applies the preserve_dropdown_state patch from JupyterBook-Patches.
Installation
To install the Sphinx-Dropdown-Toggle, follow these steps:
Step 1: Install the Package
Install the Sphinx-Dropdown-Toggle package using pip:
pip install sphinx-dropdown-toggle
Step 2: Add to requirements.txt
Make sure that the package is included in your project's requirements.txt to track the dependency:
sphinx-dropdown-toggle
Step 3: Enable in _config.yml
In your _config.yml file, add the extension to the list of Sphinx extra extensions:
sphinx:
extra_extensions:
- sphinx_dropdown_toggle
Contribute
This tool's repository is stored on GitHub. The MANUAL.md of the branch main is also part of the TeachBooks manual as a submodule. If you'd like to contribute, you can create a fork and open a pull request on the GitHub repository. To update the MANUAL.md shown in the TeachBooks manual, create a fork and open a merge request for the GitHub repository of the manual.
Metadata
Release files for sphinx-dropdown-toggle 1.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sphinx_dropdown_toggle-1.3.3.tar.gz | 17.9 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sphinx_dropdown_toggle-1.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 67.2 kB
Release files / sphinx_dropdown_toggle-1.3.3.tar.gz
| Download URL | sphinx_dropdown_toggle-1.3.3.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0142e20c3aa5fa18e605d43ee5922c2a3e8fda1ee966fc0e58e76b7eb74e5c53
|
|
BLAKE2b-256 checksum How to use checksums |
55a216ee9755176c6a7dadfbe716405b0d0d8e9b9dc885a2986ef96040a93c08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 8, 2026.
Transparency logRelease files / sphinx_dropdown_toggle-1.3.3-py3-none-any.whl
| Download URL | sphinx_dropdown_toggle-1.3.3-py3-none-any.whl |
|---|---|
| Size | 49.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
182182ba0fe4c515555a73d6d856cfa6e922eb4b4b574a7b19bd007fac78d242
|
|
BLAKE2b-256 checksum How to use checksums |
bb1c6f22279218e978b08d6d301a8991547a585c3699942a33740de81843bdc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 8, 2026.
Transparency logSecurity for sphinx-dropdown-toggle 1.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for sphinx_dropdown_toggle-1.3.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 8, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.