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

Issue with Exercise Titles in Sphinx=3.5.2 #29

Closed mmcky closed 2 years ago

mmcky commented 3 years ago

Describe the bug

The titles for exercise nodes are missing when using sphinx==3.5.2

Screen Shot 2021-03-08 at 4 28 58 pm

To Reproduce

Create an environment with the following requirements.txt

jupyter-book
matplotlib
numpy
ghp-import
quantecon-book-theme
sphinx-exercise
sphinx-multitoc-numbering

then build a project that includes an exercise node.

Expected Behaviour:

Screen Shot 2021-03-08 at 4 30 55 pm
fmaussion commented 3 years ago

Thanks! Same problem here - whats the workaround? Downgrade sphinx?

fmaussion commented 3 years ago

I tried down to 3.3 to no avail, edit: but 3.2.X works sphinx versions >4 do not work yet with jupyterbook it seems.

mmcky commented 3 years ago

thanks @fmaussion that version isolation is actually really helpful 👍.

Currently working on sphinx>4 in https://github.com/executablebooks/jupyter-book/pull/1448

AakashGfude commented 2 years ago

@fmaussion latest release v0.2.1 should work now with sphinx>3.2