Skip to content

Commit

Permalink
fix inconsistent indentation of tab blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
shireenrao committed Sep 14, 2020
1 parent a2e2f5d commit 8f31513
Show file tree
Hide file tree
Showing 14 changed files with 488 additions and 484 deletions.
2 changes: 1 addition & 1 deletion docs/html/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
'sphinx.ext.extlinks',
'pip_sphinxext',
'sphinx.ext.intersphinx',
'sphinx_tabs.tabs'
'sphinx_tabs.tabs',
]

# intersphinx
Expand Down
64 changes: 32 additions & 32 deletions docs/html/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ have downloaded ``get-pip.py``:

.. tabs::

.. group-tab:: Unix/macOS
.. group-tab:: Unix/macOS

.. code-block:: shell
.. code-block:: shell
python get-pip.py
python get-pip.py
.. group-tab:: Windows
.. group-tab:: Windows

.. code-block:: shell
.. code-block:: shell
py get-pip.py
py get-pip.py
.. warning::
Expand Down Expand Up @@ -83,66 +83,66 @@ Install from local copies of pip and setuptools:

.. tabs::

.. group-tab:: Unix/macOS
.. group-tab:: Unix/macOS

.. code-block:: shell
.. code-block:: shell
python get-pip.py --no-index --find-links=/local/copies
python get-pip.py --no-index --find-links=/local/copies
.. group-tab:: Windows
.. group-tab:: Windows

.. code-block:: shell
.. code-block:: shell
py get-pip.py --no-index --find-links=/local/copies
py get-pip.py --no-index --find-links=/local/copies
Install to the user site [3]_:

.. tabs::

.. group-tab:: Unix/macOS
.. group-tab:: Unix/macOS

.. code-block:: shell
.. code-block:: shell
python get-pip.py --user
python get-pip.py --user
.. group-tab:: Windows
.. group-tab:: Windows

.. code-block:: shell
.. code-block:: shell
py get-pip.py --user
py get-pip.py --user
Install behind a proxy:

.. tabs::

.. group-tab:: Unix/macOS
.. group-tab:: Unix/macOS

.. code-block:: shell
.. code-block:: shell
python get-pip.py --proxy="http://[user:passwd@]proxy.server:port"
python get-pip.py --proxy="http://[user:passwd@]proxy.server:port"
.. group-tab:: Windows
.. group-tab:: Windows

.. code-block:: shell
.. code-block:: shell
py get-pip.py --proxy="http://[user:passwd@]proxy.server:port"
py get-pip.py --proxy="http://[user:passwd@]proxy.server:port"
``get-pip.py`` can also be used to install a specified combination of ``pip``,
``setuptools``, and ``wheel`` using the same requirements syntax as pip:

.. tabs::

.. group-tab:: Unix/macOS
.. group-tab:: Unix/macOS

.. code-block:: shell
.. code-block:: shell
python get-pip.py pip==9.0.2 wheel==0.30.0 setuptools==28.8.0
python get-pip.py pip==9.0.2 wheel==0.30.0 setuptools==28.8.0
.. group-tab:: Windows
.. group-tab:: Windows

.. code-block:: shell
.. code-block:: shell
py get-pip.py pip==9.0.2 wheel==0.30.0 setuptools==28.8.0
py get-pip.py pip==9.0.2 wheel==0.30.0 setuptools==28.8.0
Using Linux Package Managers
============================
Expand All @@ -162,13 +162,13 @@ Upgrading pip

.. code-block:: shell
python -m pip install -U pip
python -m pip install -U pip
.. group-tab:: Windows

.. code-block:: shell
py -m pip install -U pip
py -m pip install -U pip
.. _compatibility-requirements:
Expand Down
2 changes: 1 addition & 1 deletion docs/html/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Uninstall a package:
C:\> py -m pip uninstall SomePackage
Uninstalling SomePackage:
/my/env/lib/pythonx.x/site-packages/somepackage
/my/env/lib/pythonx.x/site-packages/somepackage
Proceed (y/n)? y
Successfully uninstalled SomePackage
Expand Down
12 changes: 6 additions & 6 deletions docs/html/reference/pip.rst
Original file line number Diff line number Diff line change
Expand Up @@ -234,17 +234,17 @@ included in the command as follows:

.. tabs::

.. group-tab:: Unix/macOS
.. group-tab:: Unix/macOS

.. code-block:: shell
.. code-block:: console
python setup.py <global_options> BUILD COMMAND <build_options>
python setup.py <global_options> BUILD COMMAND <build_options>
.. group-tab:: Windows
.. group-tab:: Windows

.. code-block:: shell
.. code-block:: shell
py setup.py <global_options> BUILD COMMAND <build_options>
py setup.py <global_options> BUILD COMMAND <build_options>
The options are passed unmodified, and presently offer direct access to the
distutils command line. Use of ``--global-option`` and ``--build-option``
Expand Down
18 changes: 9 additions & 9 deletions docs/html/reference/pip_check.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ Examples

#. If all dependencies are compatible:

.. tabs::
.. tabs::

.. group-tab:: Unix/macOS

.. code-block:: console
.. code-block:: console
$ python -m pip check
No broken requirements found.
Expand All @@ -45,7 +45,7 @@ Examples
.. group-tab:: Windows

.. code-block:: console
.. code-block:: console
C:\> py -m pip check
No broken requirements found.
Expand All @@ -54,11 +54,11 @@ Examples
#. If a package is missing:

.. tabs::
.. tabs::

.. group-tab:: Unix/macOS

.. code-block:: console
.. code-block:: console
$ python -m pip check
pyramid 1.5.2 requires WebOb, which is not installed.
Expand All @@ -67,7 +67,7 @@ Examples
.. group-tab:: Windows

.. code-block:: console
.. code-block:: console
C:\> py -m pip check
pyramid 1.5.2 requires WebOb, which is not installed.
Expand All @@ -76,11 +76,11 @@ Examples
#. If a package has the wrong version:

.. tabs::
.. tabs::

.. group-tab:: Unix/macOS

.. code-block:: console
.. code-block:: console
$ python -m pip check
pyramid 1.5.2 has requirement WebOb>=1.3.1, but you have WebOb 0.8.
Expand All @@ -89,7 +89,7 @@ Examples
.. group-tab:: Windows

.. code-block:: console
.. code-block:: console
C:\> py -m pip check
pyramid 1.5.2 has requirement WebOb>=1.3.1, but you have WebOb 0.8.
Expand Down
Loading

0 comments on commit 8f31513

Please sign in to comment.