diff --git a/docs/partials-common/setup-west-nrf91.md b/docs/partials-common/setup-west-nrf91.md
index 62cc1331..6cde8d1f 100644
--- a/docs/partials-common/setup-west-nrf91.md
+++ b/docs/partials-common/setup-west-nrf91.md
@@ -28,7 +28,7 @@ sudo apt install --no-install-recommends git cmake ninja-build gperf \
make gcc gcc-multilib g++-multilib libsdl2-dev
```
-
+
@@ -39,14 +39,14 @@ Start by installing dependencies with `brew`:
brew install cmake ninja gperf python3 ccache qemu dtc
```
-
+
import SetupWestNRF91Windows from '/docs/partials-common/setup-west-nrf91-windows.md'
-
+
diff --git a/docs/partials-common/setup-zephyr-unix.md b/docs/partials-common/setup-zephyr-unix.md
index 4efa923c..595ca2dd 100644
--- a/docs/partials-common/setup-zephyr-unix.md
+++ b/docs/partials-common/setup-zephyr-unix.md
@@ -1,10 +1,10 @@
+import CodeBlock from '@theme/CodeBlock';
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
We recommend creating a `python3` virtual environment to avoid running into
tooling incompatibilities.
-import Tabs from '@theme/Tabs';
-import TabItem from '@theme/TabItem';
-
+python3 -m venv ~/{props.workspace_directory}/.venv
+
Activate the virtual environment:
-```
-source ~/golioth-zephyr-workspace/.venv/bin/activate
-```
+
+source ~/{props.workspace_directory}/.venv/bin/activate
+
Whenever the virtual environment is active, your shell's prompt will be prefixed with `(.venv)`.
diff --git a/docs/partials-common/setup-zephyr-windows.md b/docs/partials-common/setup-zephyr-windows.md
index 646222a6..d817bb14 100644
--- a/docs/partials-common/setup-zephyr-windows.md
+++ b/docs/partials-common/setup-zephyr-windows.md
@@ -34,13 +34,13 @@ values={[
```shell
cd c:\
- python -m venv golioth-zephyr-workspace\.venv
+ python -m venv {props.workspace_directory}\.venv
```
2. Activate the virtual environment:
```shell
- c:\golioth-zephyr-workspace\.venv\Scripts\activate.bat
+ c:\{props.workspace_directory}\.venv\Scripts\activate.bat
```
Once activated your shell will be prefixed with `(.venv)`. The virtual environment can be deactivated at any time by running `deactivate`.
diff --git a/docs/partials-common/setup-zephyr.md b/docs/partials-common/setup-zephyr.md
index a4740619..30b4b14d 100644
--- a/docs/partials-common/setup-zephyr.md
+++ b/docs/partials-common/setup-zephyr.md
@@ -47,7 +47,7 @@ cmake --version
If the Kitware repository doesn't work for you (ie: your system is not running Ubuntu 20.04), you can [build the stable version of CMake from source](https://cmake.org/install/).
-
+
@@ -58,7 +58,7 @@ Start by installing dependencies with `brew`:
brew install cmake ninja gperf python3 ccache qemu dtc
```
-
+
@@ -99,7 +99,7 @@ The [chocolatey](https://chocolatey.org/) package manager needs to be installed
import SetupZephyrWindows from './setup-zephyr-windows.md'
-
+