Fixed dropdown not working in project adventure

This commit is contained in:
fnieri 2024-10-06 00:20:09 +02:00
commit ccbb3d3f1e
2 changed files with 4 additions and 2 deletions

View file

@ -85,8 +85,9 @@ stick with a simple text-based intro. Try to recreate the following:
self.play(Unwrite(intro), Unwrite(vec_txts), run_time=.5)
self.wait(0.2)
.. dropdown:: Authors Solution
.. admonition:: Authors solution
:class: dropdown
.. code-block:: python
class AdventureIntro(Scene):

View file

@ -51,6 +51,7 @@ extensions = [
"sphinx.ext.inheritance_diagram",
"sphinxcontrib.programoutput",
"myst_parser",
"sphinx_togglebutton"
]
# Automatically generate stub pages when using the .. autosummary directive