diff options
| author | Jason A. Dönerfield <no-replay@sl0p.foo> | 2026-07-11 22:02:20 +0200 |
|---|---|---|
| committer | Jason A. Dönerfield <no-replay@sl0p.foo> | 2026-07-11 22:19:08 +0200 |
| commit | f64bb3a19c276303f7502633ffa930a14aa883cc (patch) | |
| tree | 0734b6b680b0361b1dea916f7cddb2ff5de74b2f /cgitrc.5.txt | |
| parent | Bump version (diff) | |
| download | cgit-f64bb3a19c276303f7502633ffa930a14aa883cc.tar.gz cgit-f64bb3a19c276303f7502633ffa930a14aa883cc.tar.xz cgit-f64bb3a19c276303f7502633ffa930a14aa883cc.zip | |
ui-summary: optionally render the repo readme on the summary page
Add enable-summary-readme (global + per-repo repo.enable-summary-readme,
default off). When enabled, the configured readme is rendered inline below the
repository info on the summary page, in addition to the standard about page.
Refactor the readme-rendering core out of cgit_print_repo_readme() into a
static print_readme() helper (no layout wrapper) so the about page and the
summary page share it.
Diffstat (limited to 'cgitrc.5.txt')
| -rw-r--r-- | cgitrc.5.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 7c39bf9..57839e4 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt @@ -197,6 +197,11 @@ enable-log-filecount:: modified files for each commit on the repository log page. Default value: "0". +enable-summary-readme:: + Flag which, when set to "1", will make cgit render the repository's + readme (see 'readme') inline below the info on the repo summary page, + in addition to the standard "about" page. Default value: "0". + enable-log-linecount:: Flag which, when set to "1", will make cgit print the number of added and removed lines for each commit on the repository log page. Default @@ -519,6 +524,10 @@ repo.enable-log-linecount:: A flag which can be used to disable the global setting `enable-log-linecount'. Default value: none. +repo.enable-summary-readme:: + A flag which can be used to override the global setting + `enable-summary-readme'. Default value: none. + repo.enable-remote-branches:: Flag which, when set to "1", will make cgit display remote branches in the summary and refs views. Default value: <enable-remote-branches>. |
