Skip to content

Commit aa9ab03

Browse files
committed
Document new config variable
1 parent 5e21331 commit aa9ab03

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

custom/conf/app.ini.sample

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ EXPLORE_PAGING_NUM = 20
6767
ISSUE_PAGING_NUM = 10
6868
; Number of maximum commits displayed in one activity feed
6969
FEED_MAX_COMMIT_NUM = 5
70+
; Number of maximum commits displayed in commit graph.
71+
GRAPH_MAX_COMMIT_NUM = 100
7072
; Value of `theme-color` meta tag, used by Android >= 5.0
7173
; An invalid color like "none" or "disable" will have the default style
7274
; More info: https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ Values containing `#` or `;` must be quoted using `` ` `` or `"""`.
6868
- `EXPLORE_PAGING_NUM`: **20**: Number of repositories that are shown in one explore page.
6969
- `ISSUE_PAGING_NUM`: **10**: Number of issues that are shown in one page (for all pages that list issues).
7070
- `FEED_MAX_COMMIT_NUM`: **5**: Number of maximum commits shown in one activity feed.
71+
- `GRAPH_MAX_COMMIT_NUM`: **100**: Number of maximum commits shown in the commit graph.
7172
- `DEFAULT_THEME`: **gitea**: \[gitea, arc-green\]: Set the default theme for the Gitea install.
7273

7374
### UI - Admin (`ui.admin`)

0 commit comments

Comments
 (0)