summaryrefslogtreecommitdiffstats
path: root/docs/content/doc/packages/swift.en-us.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/doc/packages/swift.en-us.md')
-rw-r--r--docs/content/doc/packages/swift.en-us.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/doc/packages/swift.en-us.md b/docs/content/doc/packages/swift.en-us.md
index 61a4c9a55d..c7c7ae4bd5 100644
--- a/docs/content/doc/packages/swift.en-us.md
+++ b/docs/content/doc/packages/swift.en-us.md
@@ -1,7 +1,7 @@
---
date: "2023-01-10T00:00:00+00:00"
title: "Swift Packages Repository"
-slug: "packages/swift"
+slug: "usage/packages/swift"
draft: false
toc: false
menu:
@@ -36,7 +36,7 @@ swift package-registry set https://gitea.example.com/api/packages/{owner}/swift
| ------------ | ----------- |
| `owner` | The owner of the package. |
| `username` | Your Gitea username. |
-| `password` | Your Gitea password. If you are using 2FA or OAuth use a [personal access token]({{< relref "doc/developers/api-usage.en-us.md#authentication" >}}) instead of the password. |
+| `password` | Your Gitea password. If you are using 2FA or OAuth use a [personal access token]({{< relref "doc/development/api-usage.en-us.md#authentication" >}}) instead of the password. |
The login is optional and only needed if the package registry is private.
@@ -61,7 +61,7 @@ curl -X PUT --user {username}:{password} \
| Placeholder | Description |
| ----------- | ----------- |
| `username` | Your Gitea username. |
-| `password` | Your Gitea password. If you are using 2FA or OAuth use a [personal access token]({{< relref "doc/developers/api-usage.en-us.md#authentication" >}}) instead of the password. |
+| `password` | Your Gitea password. If you are using 2FA or OAuth use a [personal access token]({{< relref "doc/development/api-usage.en-us.md#authentication" >}}) instead of the password. |
| `owner` | The owner of the package. |
| `scope` | The package scope. |
| `name` | The package name. |