Closed j-i-l closed 2 weeks ago
So far so good. We can start to work with this structure.
What would still be nice:
When building the slides (-A build=='slides'
) it would be good to expand all dropdown elements.
This could be done either with setting {% if build == 'slides' %}:open:{% endif %}
in each of the elements or, ideally, with a js scirpt that fetches all such elements from the dom and adds the open
class to them.
So far so good. We can start to work with this structure.
What would still be nice:
When building the slides (
-A build=='slides'
) it would be good to expand all dropdown elements. This could be done either with setting{% if build == 'slides' %}:open:{% endif %}
in each of the elements or, ideally, with a js scirpt that fetches all such elements from the dom and adds theopen
class to them.
This could be done with a custom js in index.md. See e.g.: https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/light-dark.html#define-custom-javascript-to-react-to-theme-changes
Closes #21