Skip to content

Commit 13e78ba

Browse files
authored
docs: update path dependency specification example (#10171)
1 parent b516801 commit 13e78ba

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/dependency-specification.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,11 +403,14 @@ In the `project` section, you can only use absolute paths:
403403

404404
```toml
405405
[project]
406-
# ...
406+
# directory
407+
dependencies = [
408+
"my-package @ file:///absolute/path/to/my-package"
409+
]
410+
# file
407411
dependencies = [
408412
"my-package @ file:///absolute/path/to/my-package/dist/my-package-0.1.0.tar.gz"
409413
]
410-
411414
```
412415
{{< /tab >}}
413416

0 commit comments

Comments
 (0)