sphinx-togglebutton
sphinx-togglebutton copied to clipboard
Show and hide content with a button in Sphinx
### Context Using an admonition and `:class: dropdown`, you can nicely choose the title. This lets users know what they can expect when they expand the container. You cannot currently...
See https://github.com/executablebooks/sphinx-togglebutton/blob/d6bbae620cc4d92220a260fca75da66ed71e4e72/sphinx_togglebutton/_static/togglebutton.js#L13 This unnecessarily clutters the console and should be only used when some actual debugging flag is enabled.
Thanks for extension, very helpful in the docs ! I wonder if it could be possible to override toggle button text once it is already configured `conf.py` ? We have...
### Describe the bug Cannot find `sphinx_examples` on pypi. ```console + /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man Running Sphinx v5.0.2 WARNING: Invalid configuration value found: 'language = None'. Update...
We've made a few design upgrades and bug fixes since the latest release, so let's create a new one. This is an issue to track the stuff we need to...
### Context Currently we use JavaScript to look for classes and convert objects with those classes into a toggle-able admonition or `details` block. This is what we use in MyST-NB...
### Context See https://github.com/executablebooks/jupyter-book/issues/1708 ### Proposal See https://github.com/executablebooks/jupyter-book/issues/1708 ### Tasks and updates _No response_
This adds **toggle groups** so that you can define subsets of toggle buttons based on a selector. You can define them like so: ```python togglebutton_groups = { "grouponename": ".groupone-selector", "grouptwoname":...
I'm not quite sure how Sphinx's translation system works, sorry for the naive question. It's nice to have the `togglebutton_hint` string configurable, but I'm not sure whether that's enough (or...
Quansight-Labs/czi-scientific-python-mgmt#77 The second commit also run prettify to fix some formatting issues.