A small (but great) improvement to the CPython 's Devguide!!

The Quick Reference section now uses "tabs: readers can choose the command they need depends on their operating system.

We used to have these commands witten as:
"on macOS do this, on Windows do that" which takes up visual space.

Now they're on tabs! This feels more intuitive!

It uses sphinx-inline-tabs extension.

Contributed by Lance Goyke in https://github.com/python/devguide/pull/1205

#documenation #openeource #devguide #Python

Add inline tabs on Quick Reference page for commands on different systems by lancegoyke Β· Pull Request #1205 Β· python/devguide

This is for work on #1196 This PR introduces a new dependency: sphinx-inline-tabs There were two design decisions I am not set on: Should we say "Unix" or "Linux"? I picked "Unix" because the setu...

GitHub