Bundle of docs changes (#5426)

This commit is contained in:
Zanie Blue
2024-07-24 18:10:33 -04:00
committed by GitHub
parent ac81036aa9
commit 3581e27cdf
12 changed files with 127 additions and 102 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ Note that if `uv run` is used in a _project_, these dependencies will be include
Python recently added a standard format for [inline script metadata](https://packaging.python.org/en/latest/specifications/inline-script-metadata/#inline-script-metadata). This allows the dependencies for a script to be declared in the script itself.
To use inline script metadata, include a `script` section at the top of the script:
To use inline script metadata, include a `script` section at the top of the script and declare the dependencies using TOML:
```python title="example.py"
# /// script