News for hackers. Stuff that matters.
Re:A Framework for Writing Better Documentation by stsewd on Tuesday February 02, 2021 @04:01PM (#26006589)
Another way to achive this is in sphinx is using https://github.com/executablebooks/sphinx-tabs
Re:A Framework for Writing Better Documentation by formerly_proven on Tuesday February 02, 2021 @04:57PM (#26007417)
sphinx-inline-tabs is probably better for this use case because all tabs with the same label are synchronized on the page. So if you want to offer different instructions for a number of environments, you only need to select it once per page.

Example: https://pip.pypa.io/en/stable/installing/#installing-with-ge...

Re:A Framework for Writing Better Documentation by stsewd on Tuesday February 02, 2021 @05:15PM (#26007657)
Sphinx tabs supports that https://github.com/executablebooks/sphinx-tabs#grouped-tabs, haven't used sphinx-inline-tabs