From 320052f466e94bb300c01b09cbeb02809ddafe27 Mon Sep 17 00:00:00 2001 From: vvanglro Date: Thu, 26 Jun 2025 02:18:41 +0000 Subject: [PATCH] fix style --- docs/concepts/projects/workspaces.md | 33 ++++++++++++++++++---------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/docs/concepts/projects/workspaces.md b/docs/concepts/projects/workspaces.md index 27b6afba4..de6273e92 100644 --- a/docs/concepts/projects/workspaces.md +++ b/docs/concepts/projects/workspaces.md @@ -59,21 +59,32 @@ example, `uv run` and `uv run --package albatross` would be equivalent, while ## Installing Dependencies for the Entire Workspace or Specific Packages To install the dependencies for the entire workspace and its sub-workspaces, you can run: + ```shell uv sync --all-packages ``` -This will install the dependencies for the root workspace as well as all the packages defined within your workspace. -If you want to install dependencies for the root workspace and a specific sub-workspace only, follow these steps: - 1. First, install the dependencies for the root workspace by running: - ```shell - uv sync - ``` - 2. Then, install the dependencies for the specific sub-workspace (for example, bird-feeder) by running: - ```shell - uv sync --inexact --package bird-feeder - ``` -The --inexact flag ensures that only the specified package and its dependencies are installed, without impacting the rest of the workspace. +This will install the dependencies for the root workspace as well as all the packages defined within +your workspace. + +If you want to install dependencies for the root workspace and a specific sub-workspace only, follow +these steps: + +1. First, install the dependencies for the root workspace by running: + +```shell +uv sync +``` + +2. Then, install the dependencies for the specific sub-workspace (for example, bird-feeder) by + running: + +```shell +uv sync --inexact --package bird-feeder +``` + +The --inexact flag ensures that only the specified package and its dependencies are installed, +without impacting the rest of the workspace. ## Workspace sources