I think it could be quite useful to add a "fold code block" feature. We could annotate a code block as "folded" in Doxygen somehow, and then hide it behind a > indicator that can be clicked to reveal the code. Jupyter notebooks have this feature, and ReadTheDocs too: https://sphinx-toolbox.readthedocs.io/en/stable/extensions/collapse.html#directive-collapse. You can even do this in GitHub markdown using the <details> tag:
I think it could be quite useful to add a "fold code block" feature. We could annotate a code block as "folded" in Doxygen somehow, and then hide it behind a
>
indicator that can be clicked to reveal the code. Jupyter notebooks have this feature, and ReadTheDocs too: https://sphinx-toolbox.readthedocs.io/en/stable/extensions/collapse.html#directive-collapse. You can even do this in GitHub markdown using the<details>
tag:Click to expand
Hello!