Skip to content

Commit d2cd09b

Browse files
Update docs for --publish-url to avoid duplication. (#8561)
## Summary These two sentences in the docs for `--publish-url` seem to basically be duplicates: https://github.com/astral-sh/uv/blob/3eda248ef5678fe07b5424fb4f256011800fbb15/crates/uv-cli/src/lib.rs#L4616-L4618 I found the first to be easier to read, so this commit removes the second. ## Test Plan No tests, change is docs-only. --------- Co-authored-by: Zanie Blue <[email protected]>
1 parent 374d4af commit d2cd09b

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

crates/uv-cli/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4614,8 +4614,6 @@ pub struct PublishArgs {
46144614
/// and index upload.
46154615
///
46164616
/// Defaults to PyPI's publish URL (<https://upload.pypi.org/legacy/>).
4617-
///
4618-
/// The default value is publish URL for PyPI (<https://upload.pypi.org/legacy/>).
46194617
#[arg(long, env = EnvVars::UV_PUBLISH_URL)]
46204618
pub publish_url: Option<Url>,
46214619

docs/reference/cli.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7479,8 +7479,6 @@ uv publish [OPTIONS] [FILES]...
74797479

74807480
<p>Defaults to PyPI&#8217;s publish URL (&lt;https://upload.pypi.org/legacy/&gt;).</p>
74817481

7482-
<p>The default value is publish URL for PyPI (&lt;https://upload.pypi.org/legacy/&gt;).</p>
7483-
74847482
<p>May also be set with the <code>UV_PUBLISH_URL</code> environment variable.</p>
74857483
</dd><dt><code>--python-preference</code> <i>python-preference</i></dt><dd><p>Whether to prefer uv-managed or system Python installations.</p>
74867484

0 commit comments

Comments
 (0)