From 6aa6a9ee647c24cc1dcac3a084b016e0691dca54 Mon Sep 17 00:00:00 2001 From: roomrys Date: Mon, 24 Jun 2024 18:13:48 +0000 Subject: [PATCH] deploy: 857bcd43fa52df31e7fcbe98d4e8c51acec7786f --- develop/_sources/installation.md | 32 +++++++++++++++++++ develop/_static/css/tabs.css | 4 +++ develop/docs/_static/css/tabs.css | 4 +++ develop/installation.html | 52 +++++++++++++++++++++---------- 4 files changed, 76 insertions(+), 16 deletions(-) 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