From dc42574d2e44c8e2d51ba0aeb816c5dfe5fd20a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20FERNANDEZ=20NU=C3=91EZ?= <nicolas.fernandez@ird.fr> Date: Tue, 7 Jan 2025 13:40:58 +0100 Subject: [PATCH] Doc: add new shell code typo --- documentations/en/pages/installations.md | 3 +- documentations/fr/pages/acknowledgements.md | 30 ------------ documentations/fr/pages/installations.md | 54 +++++++++++---------- 3 files changed, 30 insertions(+), 57 deletions(-) diff --git a/documentations/en/pages/installations.md b/documentations/en/pages/installations.md index 50d2305..9cf1c8a 100644 --- a/documentations/en/pages/installations.md +++ b/documentations/en/pages/installations.md @@ -15,7 +15,8 @@ GeVarLi use the use the free and open-source package manager **Conda**. Otherwise, you can **download** and **install** the [latest version of Miniforge](https://github.com/conda-forge/miniforge/releases) for your specific OS. -!!! Example script for Linux\_x86\_64-bit** or Windows Subsystem for Linux (WSL) systems +!!! shell + Example bash script for Linux\_x86\_64-bit** or Windows Subsystem for Linux (WSL) systems ```shell # Download curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh diff --git a/documentations/fr/pages/acknowledgements.md b/documentations/fr/pages/acknowledgements.md index 25a162f..175fd34 100644 --- a/documentations/fr/pages/acknowledgements.md +++ b/documentations/fr/pages/acknowledgements.md @@ -10,33 +10,3 @@ <div style="text-align: center;"> <img src="../../../images/GeVarLi_by_DALL-E_icone.png" width="100" height="100"> </div> - -## Tests en cours... - -!!! note - Ceci est une note - -!!! tip - Ceci est une astuce - -!!! important - Ceci est important - -!!! warning - Ceci est un warning - -!!! caution - Ceci est une mise en garde - -!!! test - Ceci est un **test** - -!!! code - Ceci est du ```code``` - -!!! bloc de code - TEST - ```shell - Ceci est un bloc - ``` - diff --git a/documentations/fr/pages/installations.md b/documentations/fr/pages/installations.md index 425b139..303b2da 100644 --- a/documentations/fr/pages/installations.md +++ b/documentations/fr/pages/installations.md @@ -15,33 +15,35 @@ GeVarLi utilise le gestionnaire de paquets gratuit et open-source **Conda**. Sinon, vous pouvez **télécharger** et **installer** la [dernière version de Miniforge](https://github.com/conda-forge/miniforge/releases) spécifique à votre système d'exploitation. -_Exemple de script pour les systèmes Linux\_x86\_64 bits ou Sous-système Windows pour Linux (WSL)_ -```shell -# Download -curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh - -# Install -bash ./Miniforge3-Linux-x86_64.sh -b -p ~/miniforge3/ - -# Clean -rm -f ./Miniforge3-Linux-x86_64.sh - -# Configure -~/miniforge3/condabin/conda config --add channels bioconda -/miniforge3/condabin/conda config --add channels conda-forge -~/miniforge3/condabin/conda config --set channel_priority strict -~/miniforge3/condabin/conda config --set auto_activate_base false - -# Update -~/miniforge3/condabin/conda update conda --yes - -# Check install -~/miniforge3/condabin/conda --version -~/miniforge3/condabin/conda config --show channels +!!! shell + Exemple de script bash pour les systèmes Linux\_x86\_64 bits ou Sous-système Windows pour Linux (WSL) + ```shell + # Download + curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh + + # Install + bash ./Miniforge3-Linux-x86_64.sh -b -p ~/miniforge3/ + + # Clean + rm -f ./Miniforge3-Linux-x86_64.sh + + # Configure + ~/miniforge3/condabin/conda config --add channels bioconda + /miniforge3/condabin/conda config --add channels conda-forge + ~/miniforge3/condabin/conda config --set channel_priority strict + ~/miniforge3/condabin/conda config --set auto_activate_base false + + # Update + ~/miniforge3/condabin/conda update conda --yes + + # Check install + ~/miniforge3/condabin/conda --version + ~/miniforge3/condabin/conda config --show channels + + # Init + ~/miniforge3/condabin/conda init + ``` -# Init -~/miniforge3/condabin/conda init -``` !!! warning Nous vous recommandons fortement de **définir des canaux** et de **mettre à jour** ! !!! note -- GitLab