mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-24 18:09:26 -05:00
admin: Document Badges on the cheat sheet
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
parent
b75189c25c
commit
bdc5a11431
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue