executablebooks / sphinx-exercise

A Sphinx extension for producing exercise and solution directives.
https://ebp-sphinx-exercise.readthedocs.io
MIT License
18 stars 6 forks source link

exercise icon not rendering properly #63

Open daviddesancho opened 9 months ago

daviddesancho commented 9 months ago

Describe the bug

When I render a jupyterbook including exercise directives I find that the icon used is not a pencil, but a bell.

Someone at stackoverflow has suggested a possible culprit.

Reproduce the bug

Information in my requirements.txt file:

sphinx
sphinx-exercise

Information in the _config.yml file:

sphinx:
  config:
    mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
  extra_extensions:
    - sphinx_exercise

In the markdown notebooks:

:nonumber:
:class: dropdown

Text of the exercise

List your environment

Jupyter Book      : 0.15.1
External ToC      : 0.3.1
MyST-Parser       : 0.18.1
MyST-NB           : 0.17.1
Sphinx Book Theme : 1.0.1
Jupyter-Cache     : 0.5.0
NbClient          : 0.5.13
welcome[bot] commented 9 months ago

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

AakashGfude commented 9 months ago

Hi @daviddesancho, Thanks for pointing this out. The solution seems reasonable. We will make a fix soon.