From 8e87309b0b8c507e5ca1e89dbda2e1bb2f35f36a Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Sun, 24 Oct 2021 18:30:27 +0200 Subject: [PATCH] Less verbose install info on index page Closes #21246. This uses the same formatting as the install info in "getting started". Also, add the conda and pip links to the "getting started" page. --- doc/index.rst | 24 +++++++++--------------- doc/users/getting_started/index.rst | 4 ++-- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/doc/index.rst b/doc/index.rst index 618418a9a641..1ac3cfc80ecd 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -14,29 +14,23 @@ and interactive visualizations in Python. Installation ============ -.. panels:: - :card: + install-card - :column: col-lg-6 col-md-6 col-sm-12 col-xs-12 p-3 - - Installing using `conda `__ - ^^^^^^^^^^^^^^^^^^^^^^ - +.. container:: twocol + .. container:: - .. code-block:: bash + Install using `pip `__: - conda install matplotlib - - --- + .. code-block:: bash - Installing using `pip `__ - ^^^^^^^^^^^^^^^^^^^^ + pip install matplotlib + .. container:: - .. code-block:: bash + Install using `conda `__: - pip install matplotlib + .. code-block:: bash + conda install matplotlib Further details are available in the :doc:`Installation Guide `. diff --git a/doc/users/getting_started/index.rst b/doc/users/getting_started/index.rst index 7e8863991a41..8ce5491ce19e 100644 --- a/doc/users/getting_started/index.rst +++ b/doc/users/getting_started/index.rst @@ -8,7 +8,7 @@ Installation quick-start .. container:: - Install using pip: + Install using `pip `__: .. code-block:: bash @@ -16,7 +16,7 @@ Installation quick-start .. container:: - Install using conda: + Install using `conda `__: .. code-block:: bash