observational-dev / oawiki

Repository for wiki.observational.space
https://wiki.observational.space/
Creative Commons Attribution Share Alike 4.0 International
2 stars 5 forks source link

Dropdown elements #32

Closed random-person-001 closed 1 year ago

random-person-001 commented 1 year ago

This implements and demonstrates a dropdown dialog, which could be useful for FAQs or other places in the first parts of the wiki to be viewed by newcomers. I also added in an example wiki page that can be used as a starting point for others and formatting reference. I'd like to retain that even if we decide the dropdown feature is unneeded. For now it's in the imaging/ folder as I had issues putting it elsewhere.

It requires an additonal pip package, sphinx-togglebutton

both dropdowns collapsed

one dropdown opened

both dropdowns opened

random-person-001 commented 1 year ago

Superseded by #37