From 39431b5db17dbd49e453ee78922b1ec271964f4d Mon Sep 17 00:00:00 2001 From: Jakub Kuczys Date: Sun, 28 May 2023 21:49:41 +0200 Subject: [PATCH] Use a single tab for both commands --- docs/html/installation.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/html/installation.md b/docs/html/installation.md index a179e145a92..fee8a24807f 100644 --- a/docs/html/installation.md +++ b/docs/html/installation.md @@ -61,34 +61,40 @@ also zip applications for specific pip versions, named `pip-X.Y.Z.pyz`. The zip application can be run using any supported version of Python: -```{pip-cli} +````{tab} Linux +```console $ python pip.pyz --help ``` If run directly: - -````{tab} Linux ```console $ chmod +x ./pip.pyz $ ./pip.pyz ``` + +then the currently active Python interpreter will be used. ```` ````{tab} MacOS ```console +$ python pip.pyz --help +``` + +If run directly: +```console $ chmod +x ./pip.pyz $ ./pip.pyz ``` + +then the currently active Python interpreter will be used. ```` ````{tab} Windows ```console -C:\> .\pip.pyz +C:> py pip.pyz --help ``` ```` -then the currently active Python interpreter will be used. - ## Alternative Methods Depending on how you installed Python, there might be other mechanisms