{"categories":[{"label":"Sphinx","url":"https://skillfed.io/packages/category/documentation-sphinx"}],"enrichment":{"capability":"A Sphinx extension that adds collapsible toggle buttons to admonitions and arbitrary content sections, allowing documentation authors to hide and show content on demand.","skillfed_tags":["sphinx-extension","documentation-ux"],"use_cases":["Hide verbose admonitions (warnings, notes) in documentation to reduce visual clutter while keeping them accessible","Collapse code examples or implementation details that readers may not need on first read","Create expandable FAQ or troubleshooting sections where each answer starts hidden","Organize long documentation pages by collapsing optional or advanced content sections"],"what_it_does":"sphinx-togglebutton is a Sphinx extension that adds interactive collapse/expand functionality to your documentation. It lets you hide admonitions (notes, warnings, etc.) behind toggle buttons so readers only see content when they click, and also provides a generic container directive for collapsing arbitrary sections. The extension supports showing content expanded or collapsed by default via CSS classes, and includes internationalization for toggle button labels across many languages.\n\nYou install it by adding it to your Sphinx conf.py extensions list, then mark admonitions with the `dropdown` class or use container directives with toggle classes. It requires sphinx and docutils as runtime dependencies and has no compiled components, making it straightforward to install and use in any Sphinx-based documentation workflow.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT License, and solves a common documentation UX problem with low install friction. It's a lightweight, focused extension that integrates cleanly into Sphinx workflows."},"id":"sphinx-togglebutton","links":{"html":"https://skillfed.io/packages/sphinx-togglebutton","md":"https://skillfed.io/packages/sphinx-togglebutton.md","pypi":"https://pypi.org/project/sphinx-togglebutton/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-27","license_spdx":null,"license_treatment":"permissive","name":"sphinx-togglebutton","python_support":"unspecified","summary":"Toggle page content and collapse admonitions in Sphinx."},"popularity":{"monthly_downloads":519405,"position":6217,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.5"}
