Open-Telecoms-Data / open-fibre-data-standard

Open Fibre Data Standard
https://open-fibre-data-standard.readthedocs.io
Other
14 stars 3 forks source link

Use sphinx-design dropdowns to collapse long codelist tables #99

Open duncandewhurst opened 2 years ago

duncandewhurst commented 2 years ago

Some codelists are very long, e.g. mediaType, country, currency, which makes the codelist reference page hard to read.

duncandewhurst commented 1 year ago

One option is https://sphinx-toolbox.readthedocs.io/en/stable/extensions/collapse.html. However, it causes the codelist reference tables to overflow the width of the page.

duncandewhurst commented 1 year ago

https://github.com/executablebooks/sphinx-design provides a dropdown directive for hiding content in expandable containers.