diff --git a/develop/_sources/installation.md b/develop/_sources/installation.md index f9a0431f3..7b7fb46f1 100644 --- a/develop/_sources/installation.md +++ b/develop/_sources/installation.md @@ -2,6 +2,38 @@ SLEAP can be installed as a Python package on Windows, Linux, and Mac OS. +````{tabs} + + ```{group-tab} Windows and Linux + + + ```bash + mamba create -y -n sleap -c conda-forge -c nvidia -c sleap -c anaconda sleap=1.4.1a1 + ``` + + + ```{note} + - This comes with CUDA to enable GPU support. All you need is to have an NVIDIA GPU and [updated drivers](https://nvidia.com/drivers). + - If you already have CUDA installed on your system, this will not conflict with it. + - This will also work in CPU mode if you don't have a GPU on your machine. + ``` + + ``` + + ```{group-tab} Mac OS + + ```bash + mamba create -y -n sleap -c conda-forge -c anaconda -c sleap sleap=1.4.1a1 + ``` + + ```{note} + This will also work in CPU mode if you don't have a GPU on your machine. + ``` + + ``` + +```` + The newest version of SLEAP can always be found in the [Releases page](https://github.com/talmolab/sleap/releases). ```{contents} Contents diff --git a/develop/_static/css/tabs.css b/develop/_static/css/tabs.css index 5c8708f75..10914e8a4 100644 --- a/develop/_static/css/tabs.css +++ b/develop/_static/css/tabs.css @@ -28,6 +28,10 @@ margin: -1px; background-color: rgb(50, 50, 50); } + + .admonition .sphinx-tabs-tab[aria-selected="true"]:last-child { + margin-bottom: -1px; + } .sphinx-tabs-tab:focus { z-index: 1; diff --git a/develop/docs/_static/css/tabs.css b/develop/docs/_static/css/tabs.css index 5c8708f75..10914e8a4 100644 --- a/develop/docs/_static/css/tabs.css +++ b/develop/docs/_static/css/tabs.css @@ -28,6 +28,10 @@ margin: -1px; background-color: rgb(50, 50, 50); } + + .admonition .sphinx-tabs-tab[aria-selected="true"]:last-child { + margin-bottom: -1px; + } .sphinx-tabs-tab:focus { z-index: 1; diff --git a/develop/installation.html b/develop/installation.html index 86eb4ffa0..dfd6c0462 100644 --- a/develop/installation.html +++ b/develop/installation.html @@ -343,6 +343,26 @@

Contents

Installation#

SLEAP can be installed as a Python package on Windows, Linux, and Mac OS.

+
+
mamba create -y -n sleap -c conda-forge -c nvidia -c sleap -c anaconda sleap=1.4.1a1
+
+
+
+

Note

+
    +
  • This comes with CUDA to enable GPU support. All you need is to have an NVIDIA GPU and updated drivers.

  • +
  • If you already have CUDA installed on your system, this will not conflict with it.

  • +
  • This will also work in CPU mode if you don’t have a GPU on your machine.

  • +
+
+

The newest version of SLEAP can always be found in the Releases page.

Contents

@@ -384,19 +404,19 @@

Installation methodsHint

Installation requires entering commands in a terminal. To open one:

-

Open the Start menu and search for the Anaconda Prompt (if using Miniconda) or the Command Prompt if not.

+
-

This is the recommended installation method.

+

This is the recommended installation method.

-
mamba create -y -n sleap -c conda-forge -c nvidia -c sleap -c anaconda sleap=1.4.1a1
+
mamba create -y -n sleap -c conda-forge -c nvidia -c sleap -c anaconda sleap=1.4.1a1
 
@@ -407,7 +427,7 @@

Installation methods