Skip to content

exercise icon not rendering properly #63

Open

Description

@daviddesancho

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

Activity

  1. welcome commented on Oct 4, 2023

    @welcome

    Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

    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! 🎉

  2. AakashGfude commented on Oct 4, 2023

    @AakashGfude
    Member

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

  3. jkooij commented on Sep 14, 2024

    @jkooij

    I'm seeing the same problem while trying to use sphinx-exercise in a jupyter-book.
    After using pip install sphinx-exercise I created a clean build using

    jupyter-book clean .
    jupyter-book build . --all
    

    but that did not solve the problem, I see the bell and the missing f303 icon placeholder:

    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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