aboutsummaryrefslogtreecommitdiffstats
path: root/templates/package
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2023-01-27 15:12:18 +0100
committerGitHub <noreply@github.com>2023-01-27 15:12:18 +0100
commit51a92cb8218b6702a5a0c8f921eda02456332748 (patch)
tree02cf91dba1e8fcfdee2f5453e6f17492b4e3828d /templates/package
parent5ff037ef51090b9ac8f521466d99456b236926be (diff)
downloadgitea-51a92cb8218b6702a5a0c8f921eda02456332748.tar.gz
gitea-51a92cb8218b6702a5a0c8f921eda02456332748.zip
Use `--index-url` in PyPi description (#22620)
Fixes #22616 Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates/package')
-rw-r--r--templates/package/content/pypi.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/package/content/pypi.tmpl b/templates/package/content/pypi.tmpl
index 1cce31f537..1ae243813d 100644
--- a/templates/package/content/pypi.tmpl
+++ b/templates/package/content/pypi.tmpl
@@ -4,7 +4,7 @@
<div class="ui form">
<div class="field">
<label>{{svg "octicon-terminal"}} {{.locale.Tr "packages.pypi.install"}}</label>
- <div class="markup"><pre class="code-block"><code>pip install --extra-index-url {{AppUrl}}api/packages/{{.PackageDescriptor.Owner.Name}}/pypi/simple {{.PackageDescriptor.Package.Name}}</code></pre></div>
+ <div class="markup"><pre class="code-block"><code>pip install --index-url {{AppUrl}}api/packages/{{.PackageDescriptor.Owner.Name}}/pypi/simple {{.PackageDescriptor.Package.Name}}</code></pre></div>
</div>
<div class="field">
<label>{{.locale.Tr "packages.pypi.documentation" | Safe}}</label>