From c30e8ff689be5bb38f9c1d109c7b058cf0cdb6f1 Mon Sep 17 00:00:00 2001 From: Commandcracker <49335821+Commandcracker@users.noreply.github.com> Date: Fri, 24 Mar 2023 23:23:22 +0100 Subject: [PATCH 1/2] Fixed Windows activation documentation On Windows, the activation script is stored in `venv/Scripts/activate` I hope the OS selection menu works, a test of it might be needed --- docs/guides/creating-a-reproduction.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/guides/creating-a-reproduction.md b/docs/guides/creating-a-reproduction.md index 70a18309589..d7fce29519e 100644 --- a/docs/guides/creating-a-reproduction.md +++ b/docs/guides/creating-a-reproduction.md @@ -22,6 +22,18 @@ just delete and recreate the environment. It's trivial to set up: - Activate the environment with: + +=== ":fontawesome-brands-windows: Windows" + + ``` sh + . venv/Scripts/activate # (1)! + ``` + + 1. Your terminal should now print `(venv)` before the prompt, which is + how you know that you are inside an environment. + +=== ":material-linux: Linux" + ``` sh . venv/bin/activate # (1)! ``` From 22220c8b67ee19532a5c2d3c8297b68a84b1c15a Mon Sep 17 00:00:00 2001 From: Commandcracker <49335821+Commandcracker@users.noreply.github.com> Date: Fri, 31 Mar 2023 15:48:40 +0200 Subject: [PATCH 2/2] Update creating-a-reproduction.md --- docs/guides/creating-a-reproduction.md | 29 +++++++++++++------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/docs/guides/creating-a-reproduction.md b/docs/guides/creating-a-reproduction.md index d7fce29519e..19a342b3eee 100644 --- a/docs/guides/creating-a-reproduction.md +++ b/docs/guides/creating-a-reproduction.md @@ -22,24 +22,23 @@ just delete and recreate the environment. It's trivial to set up: - Activate the environment with: + === ":fontawesome-brands-windows: Windows" -=== ":fontawesome-brands-windows: Windows" + ``` sh + . venv/Scripts/activate # (1)! + ``` - ``` sh - . venv/Scripts/activate # (1)! - ``` - - 1. Your terminal should now print `(venv)` before the prompt, which is - how you know that you are inside an environment. - -=== ":material-linux: Linux" - - ``` sh - . venv/bin/activate # (1)! - ``` + 1. Your terminal should now print `(venv)` before the prompt, which is + how you know that you are inside an environment. + + === ":material-linux: Linux, :material-apple: macOS" + + ``` sh + . venv/bin/activate # (1)! + ``` - 1. Your terminal should now print `(venv)` before the prompt, which is - how you know that you are inside an environment. + 1. Your terminal should now print `(venv)` before the prompt, which is + how you know that you are inside an environment. - Exit the environment with: