From ddc3a17d86df2a3626e38dd76d7c49a85ae3b57c Mon Sep 17 00:00:00 2001 From: Abdullah Alqahtani Date: Tue, 11 Feb 2025 13:35:58 +0300 Subject: [PATCH] docs(dependency-specification): update dependency specification example to include directory and file paths for clarity --- docs/dependency-specification.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/dependency-specification.md b/docs/dependency-specification.md index bced0dd1ac7..b318bb19c72 100644 --- a/docs/dependency-specification.md +++ b/docs/dependency-specification.md @@ -403,11 +403,14 @@ In the `project` section, you can only use absolute paths: ```toml [project] -# ... +# directory +dependencies = [ + "my-package @ file:///absolute/path/to/my-package" +] +# file dependencies = [ "my-package @ file:///absolute/path/to/my-package/dist/my-package-0.1.0.tar.gz" ] - ``` {{< /tab >}}