executablebooks / sphinx-exercise

A Sphinx extension for producing exercise and solution directives.

Home Page:https://ebp-sphinx-exercise.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extension causes issue when {exercise} and {solution} aren't used but extension is loaded

mmcky opened this issue · comments

Describe the problem

Extension causes issue when {exercise} and {solution} aren't used but extension is loaded

Link to your repository or website

QuantEcon/lecture-datascience.myst#199

Steps to reproduce

Build the lecture-datascience.myst quantecon lecture site

The version of Python you're using

No response

Your operating system

No response

Versions of your packages

No response

Additional context

To resolve this I need to ensure the sphinx_exercise_registry is initialised when the extension is loaded.

closing as a duplicate of #44