Skip to content

Commit

Permalink
Docs improvement: use sphinx-design tabs (intake#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersy005 authored Aug 18, 2022
1 parent aaab9d7 commit 5d1209b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 14 deletions.
1 change: 1 addition & 0 deletions docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dependencies:
- python=3.9
- s3fs
- sphinx-copybutton
- sphinx-design
- watermark
- zarr
- pip:
Expand Down
42 changes: 28 additions & 14 deletions docs/source/how-to/install-intake-esm.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,35 @@
# Install Intake-esm
# Install intake-ESM

Intake-esm can be installed from PyPI with pip:
intake-ESM can be installed in three ways:

```bash
$ python -m pip install intake-esm
```
```{eval-rst}
It is also available from `conda-forge` for conda installations:
.. tab-set::
```bash
$ conda install -c conda-forge intake-esm
```
.. tab-item:: pip
Using the `pip <https://pypi.org/project/pip/>`__ package manager:
.. code:: bash
$ python -m pip install intake-esm
.. tab-item:: conda
Using the `conda <https://conda.io/>`__ package manager that comes with the
Anaconda/Miniconda distribution:
.. code:: bash
$ conda install intake-esm --channel conda-forge
.. tab-item:: Development version
To install a development version from source:
To install a development version from source:
.. code:: bash
```bash
$ git clone https://github.com/intake/intake-esm
$ cd intake-esm
$ python -m pip install -e .
$ git clone https://github.com/intake/intake-esm
$ cd intake-esm
$ python -m pip install -e .
```

0 comments on commit 5d1209b

Please sign in to comment.