Skip to content

Commit 0fd7e37

Browse files
Fix codeblocks in the cheat sheet (#23664)
1 parent 9f39def commit 0fd7e37

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

docs/content/doc/administration/config-cheat-sheet.en-us.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ Default templates for project boards:
994994

995995
### Extended cron tasks (not enabled by default)
996996

997-
#### Cron - Garbage collect all repositories ('cron.git_gc_repos')
997+
#### Cron - Garbage collect all repositories (`cron.git_gc_repos`)
998998

999999
- `ENABLED`: **false**: Enable service.
10001000
- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
@@ -1003,66 +1003,66 @@ Default templates for project boards:
10031003
- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10041004
- `ARGS`: **\<empty\>**: Arguments for command `git gc`, e.g. `--aggressive --auto`. The default value is same with [git] -> GC_ARGS
10051005

1006-
#### Cron - Update the '.ssh/authorized_keys' file with Gitea SSH keys ('cron.resync_all_sshkeys')
1006+
#### Cron - Update the '.ssh/authorized_keys' file with Gitea SSH keys (`cron.resync_all_sshkeys`)
10071007

10081008
- `ENABLED`: **false**: Enable service.
10091009
- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10101010
- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10111011
- `SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
10121012

1013-
#### Cron - Resynchronize pre-receive, update and post-receive hooks of all repositories ('cron.resync_all_hooks')
1013+
#### Cron - Resynchronize pre-receive, update and post-receive hooks of all repositories (`cron.resync_all_hooks`)
10141014

10151015
- `ENABLED`: **false**: Enable service.
10161016
- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10171017
- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10181018
- `SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
10191019

1020-
#### Cron - Reinitialize all missing Git repositories for which records exist ('cron.reinit_missing_repos')
1020+
#### Cron - Reinitialize all missing Git repositories for which records exist (`cron.reinit_missing_repos`)
10211021

10221022
- `ENABLED`: **false**: Enable service.
10231023
- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10241024
- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10251025
- `SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
10261026

1027-
#### Cron - Delete all repositories missing their Git files ('cron.delete_missing_repos')
1027+
#### Cron - Delete all repositories missing their Git files (`cron.delete_missing_repos`)
10281028

10291029
- `ENABLED`: **false**: Enable service.
10301030
- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10311031
- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10321032
- `SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
10331033

1034-
#### Cron - Delete generated repository avatars ('cron.delete_generated_repository_avatars')
1034+
#### Cron - Delete generated repository avatars (`cron.delete_generated_repository_avatars`)
10351035

10361036
- `ENABLED`: **false**: Enable service.
10371037
- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10381038
- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10391039
- `SCHEDULE`: **@every 72h**: Cron syntax for scheduling repository archive cleanup, e.g. `@every 1h`.
10401040

1041-
#### Cron - Delete all old actions from database ('cron.delete_old_actions')
1041+
#### Cron - Delete all old actions from database (`cron.delete_old_actions`)
10421042

10431043
- `ENABLED`: **false**: Enable service.
10441044
- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10451045
- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10461046
- `SCHEDULE`: **@every 168h**: Cron syntax to set how often to check.
10471047
- `OLDER_THAN`: **@every 8760h**: any action older than this expression will be deleted from database, suggest using `8760h` (1 year) because that's the max length of heatmap.
10481048

1049-
#### Cron - Check for new Gitea versions ('cron.update_checker')
1049+
#### Cron - Check for new Gitea versions (`cron.update_checker`)
10501050

10511051
- `ENABLED`: **true**: Enable service.
10521052
- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10531053
- `ENABLE_SUCCESS_NOTICE`: **true**: Set to false to switch off success notices.
10541054
- `SCHEDULE`: **@every 168h**: Cron syntax for scheduling a work, e.g. `@every 168h`.
10551055
- `HTTP_ENDPOINT`: **https://dl.gitea.io/gitea/version.json**: the endpoint that Gitea will check for newer versions
10561056

1057-
#### Cron - Delete all old system notices from database ('cron.delete_old_system_notices')
1057+
#### Cron - Delete all old system notices from database (`cron.delete_old_system_notices`)
10581058

10591059
- `ENABLED`: **false**: Enable service.
10601060
- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10611061
- `NO_SUCCESS_NOTICE`: **false**: Set to true to switch off success notices.
10621062
- `SCHEDULE`: **@every 168h**: Cron syntax to set how often to check.
10631063
- `OLDER_THAN`: **@every 8760h**: any system notice older than this expression will be deleted from database.
10641064

1065-
#### Cron - Garbage collect LFS pointers in repositories ('cron.gc_lfs')
1065+
#### Cron - Garbage collect LFS pointers in repositories (`cron.gc_lfs`)
10661066

10671067
- `ENABLED`: **false**: Enable service.
10681068
- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).

0 commit comments

Comments
 (0)