Update docs for docusaurus v3 (#28126)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
(cherry picked from commit 7213506680)
This commit is contained in:
John Olheiser 2023-11-19 23:24:50 -06:00 committed by Earl Warren
parent b389926f4c
commit 47ca0cd0c5
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
5 changed files with 10 additions and 10 deletions

View file

@ -138,9 +138,9 @@ All Gitea instances have the built-in API and there is no way to disable it comp
You can, however, disable showing its documentation by setting `ENABLE_SWAGGER` to `false` in the `api` section of your `app.ini`.
For more information, refer to Gitea's [API docs](development/api-usage.md).
You can see the latest API (for example) on <https://try.gitea.io/api/swagger>.
You can see the latest API (for example) on https://try.gitea.io/api/swagger
You can also see an example of the `swagger.json` file at <https://try.gitea.io/swagger.v1.json>.
You can also see an example of the `swagger.json` file at https://try.gitea.io/swagger.v1.json
## Adjusting your server for public/private use