Bug Fixes
- Fixed
LaTeX Error: Not in outer par modewhen building LaTeX/PDF output with a captioned figure inside an exercise or solution, including gatedexercise-start/solution-startblocks (#94, #95)- Figures inside exercise and solution boxes are now written as
\begin{figure}[H], as Sphinx already does for figures inside its own admonitions - This also covers
code-celloutputs withmystnb: figure: caption:metadata inside a solution - HTML output is unchanged
- Figures inside exercise and solution boxes are now written as
- Fixed CI test failures on Sphinx 6 and 7 caused by a newer
pydata-sphinx-theme, by switching the gated directive test root toalabaster(#88)
Installation
pip install sphinx-exercise==1.2.2See v1.2.2 release notes for full details.