t4d-gmbh / using-git-in-academia

https://t4d-gmbh.github.io/using-git-in-academia/
GNU General Public License v3.0
2 stars 0 forks source link

Basic structure #22

Closed j-i-l closed 2 weeks ago

j-i-l commented 3 weeks ago

Closes #21

j-i-l commented 3 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.

j-i-l commented 3 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.

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