We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9715a72 + ceb0489 commit 26c3150Copy full SHA for 26c3150
sphinx_exercise/post_transforms.py
@@ -176,6 +176,9 @@ class ResolveTitlesInSolutions(SphinxPostTransform):
176
177
def run(self):
178
179
+ if not hasattr(self.env, "sphinx_exercise_registry"):
180
+ return
181
+
182
# Update Solution Directives
183
for node in self.document.traverse(solution_node):
184
label = node.get("label")
@@ -207,6 +210,10 @@ class ResolveLinkTextToSolutions(SphinxPostTransform):
207
210
default_priority = 22
208
211
209
212
213
214
215
216
217
# Update Solution References
218
for node in self.document.traverse(docutil_nodes.reference):
219
refid = node.get("refid")
0 commit comments