Skip to content

Commit

Permalink
remove eval-rst blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Sep 11, 2023
1 parent c1ece55 commit b48bda7
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 63 deletions.
32 changes: 13 additions & 19 deletions docs/source/install/basic_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,30 +16,24 @@ scientific computing.

To install *bmi-wavewatch3*, simply run the following in your terminal of choice:

```{eval-rst}
.. tab:: mamba
.. code-block:: bash
conda install mamba -c conda-forge
mamba install bmi-wavewatch3 -c conda-forge
````{tab} mamba
```bash
conda install mamba -c conda-forge
mamba install bmi-wavewatch3 -c nodefaults -c conda-forge
```
````

```{eval-rst}
.. tab:: conda
.. code-block:: bash
conda install bmi-wavewatch3 -c conda-forge
````{tab} conda
```bash
conda install bmi-wavewatch3 -c nodefaults -c conda-forge
```
````

```{eval-rst}
.. tab:: pip
.. code-block:: bash
pip install bmi-wavewatch3
````{tab} pip
```bash
pip install bmi-wavewatch3
```
````

:::{important}
Due to an issue with the *eccodes* package, **Windows users and users of newer
Expand Down
39 changes: 17 additions & 22 deletions docs/source/install/environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,28 @@ environments created using *conda*/*mamba*, you can use either *conda*/*mamba* o
*pip* to install additional packages, while *venv*-created environments
should stick with *pip*.

```{eval-rst}
.. tab:: mamba
.. code-block:: bash
conda install mamba -c conda-forge
mamba create -n bmi-wavewatch3
mamba activate bmi-wavewatch3
````{tab} mamba
```bash
conda install mamba -c conda-forge
mamba create -n bmi-wavewatch3
mamba activate bmi-wavewatch3
```
````

```{eval-rst}
.. tab:: conda
.. code-block:: bash
conda create -n bmi-wavewatch3
conda activate bmi-wavewatch3
````{tab} conda
```bash
conda create -n bmi-wavewatch3
conda activate bmi-wavewatch3
```
````

```{eval-rst}
.. tab:: venv
.. code-block:: bash
python -m venv .venv
source .venv/bin/activate
````{tab} venv
```bash
python -m venv .venv
source .venv/bin/activate
```
````


Note that you will need to activate this environment every time you want to use it in
a new shell.
Expand Down
39 changes: 17 additions & 22 deletions docs/source/install/source_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,33 +33,28 @@ curl -OL https://github.com/csdms/bmi-wavewatch3/archive/refs/heads/main.zip
Once you have a copy of the source code, you can install it into your current
Python environment,

```{eval-rst}
.. tab:: mamba

.. code-block:: bash
cd bmi-wavewatch3
mamba install --file=requirements-conda.in
pip install -e .
````{tab} mamba
```bash
cd bmi-wavewatch3
mamba install --file=requirements-conda.in
pip install -e .
```
````

```{eval-rst}
.. tab:: conda
.. code-block:: bash
cd bmi-wavewatch3
conda install --file=requirements-conda.in
pip install -e .
````{tab} conda
```bash
cd bmi-wavewatch3
conda install --file=requirements-conda.in
pip install -e .
```
````

```{eval-rst}
.. tab:: pip
.. code-block:: bash
cd bmi-wavewatch3
pip install -e .
````{tab} pip
```bash
cd bmi-wavewatch3
pip install -e .
```
````

% end-install-source

0 comments on commit b48bda7

Please sign in to comment.