0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-27 18:32:37 -05:00

admin: Document Badges on the cheat sheet

Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
Gergely Nagy 2024-01-10 08:28:04 +01:00
parent b75189c25c
commit bdc5a11431

View file

@ -182,6 +182,11 @@ The following configuration set `Content-Type: application/vnd.android.package-a
.apk=application/vnd.android.package-archive
```
## Badges (`badges`)
- `ENABLED`: **false**: enable repository badges (via a generator like `shields.io`)
- `GENERATOR_URL_TEMPLATE`: **https://img.shields.io/badge/{{.label}}-{{.text}}-{{.color}}**: The URL template used for the badge generator service.
## CORS (`cors`)
- `ENABLED`: **false**: enable cors headers (disabled by default)