diff options
author | Yarden Shoham <git@yardenshoham.com> | 2023-05-06 14:52:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-06 11:52:44 +0000 |
commit | ef92459e183f3f3437d4e458dc75a350e4f34871 (patch) | |
tree | c0adf942eb5c004aa43102360991b493465eaef0 /docs/content/doc/usage | |
parent | db582d97ef6cd7d9f73a63c99639f6d00f40dc5a (diff) | |
download | gitea-ef92459e183f3f3437d4e458dc75a350e4f34871.tar.gz gitea-ef92459e183f3f3437d4e458dc75a350e4f34871.zip |
Fix docs failing the build on `main` (#24561)
Regression from https://github.com/go-gitea/gitea/pull/23380
First failing build: https://drone.gitea.io/go-gitea/gitea/74565
https://github.com/go-gitea/gitea/actions/runs/4897332409/jobs/8745242395
Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Diffstat (limited to 'docs/content/doc/usage')
-rw-r--r-- | docs/content/doc/usage/packages/rpm.en-us.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/doc/usage/packages/rpm.en-us.md b/docs/content/doc/usage/packages/rpm.en-us.md index c916014bdb..2f9bb539be 100644 --- a/docs/content/doc/usage/packages/rpm.en-us.md +++ b/docs/content/doc/usage/packages/rpm.en-us.md @@ -38,7 +38,7 @@ dnf config-manager --add-repo https://gitea.example.com/api/packages/{owner}/rpm | ----------- | ----------- | | `owner` | The owner of the package. | -If the registry is private, provide credentials in the url. You can use a password or a [personal access token]({{< relref "doc/developers/api-usage.en-us.md#authentication" >}}): +If the registry is private, provide credentials in the url. You can use a password or a [personal access token]({{< relref "doc/development/api-usage.en-us.md#authentication" >}}): ```shell dnf config-manager --add-repo https://{username}:{your_password_or_token}@gitea.example.com/api/packages/{owner}/rpm.repo @@ -66,7 +66,7 @@ curl --user your_username:your_password_or_token \ https://gitea.example.com/api/packages/testuser/rpm/upload ``` -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. +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. You cannot publish a file with the same name twice to a package. You must delete the existing package version first. The server reponds with the following HTTP Status codes. |