Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a28863b

Browse files
GiteaBotSuperSandro2000zeripath
authoredMar 23, 2023
Fix codeblocks in the cheat sheet (#23664) (#23669)
Backport #23664 by @SuperSandro2000 Conflicts fixed by Andrew Thornton <art27@cantab.net> Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Andrew Thornton <art27@cantab.net>
1 parent 162f284 commit a28863b

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

+10-10
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@ Default templates for project boards:
988988

989989
### Extended cron tasks (not enabled by default)
990990

991-
#### Cron - Garbage collect all repositories ('cron.git_gc_repos')
991+
#### Cron - Garbage collect all repositories (`cron.git_gc_repos`)
992992

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

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

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

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

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

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

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

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

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

1028-
#### Cron - Delete generated repository avatars ('cron.delete_generated_repository_avatars')
1028+
#### Cron - Delete generated repository avatars (`cron.delete_generated_repository_avatars`)
10291029

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

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

10371037
- `ENABLED`: **false**: Enable service.
10381038
- `RUN_AT_START`: **false**: Run tasks at start up time (if ENABLED).
10391039
- `NOTICE_ON_SUCCESS`: **false**: Set to true to switch on success notices.
10401040
- `SCHEDULE`: **@every 168h**: Cron syntax to set how often to check.
10411041
- `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.
10421042

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

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

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

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

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.