Skip to content

Toggle doesn't work on sphinx-exercise #76

@timonidema

Description

@timonidema

Describe the bug

Somewhere after version 0.3.2, including sphinx-togglebutton in a jupyter-book v1.x in combination with sphinx-exercise (newest version 1.2.1) no longer produces collapsed exercises, but folded-open exercises, still showing the 'click to show' text (but clicking does nothing). Downgrading to 0.3.2 fixes this issue.

Example of undesired result with sphinx-toggle button 0.4.4:

Image

Reproduce the bug

Create a Jupyter book with a sphinx-exercise, include sphinx-exercise and sphinx-toggle button as extra_extensions to sphinx in the _config.yml.

List your environment

jupyter-book==1.0.4.post1
sphinx-exercise==1.2.1
sphinx-proof==0.4.0
sphinx-book-theme==1.2.0
pydata-sphinx-theme==0.16.1
sphinx-togglebutton==0.3.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions