readme: use string_list instead of space deliminations
Now this is possible in cgitrc - readme=:README.md readme=:readme.md readme=:README.mkd readme=:readme.mkd readme=:README.rst readme=:readme.rst readme=:README.html readme=:readme.html readme=:README.htm readme=:readme.htm readme=:README.txt readme=:readme.txt readme=:README readme=:readme readme=:INSTALL.txt readme=:install.txt readme=:INSTALL readme=:install Suggested-by: John Keeping <john@keeping.me.uk> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
@ -290,8 +290,9 @@ project-list::
|
||||
|
||||
readme::
|
||||
Text which will be used as default value for "repo.readme". Multiple
|
||||
files may be specified, separated by a space, and cgit will use the
|
||||
first found file in this list. Default value: none.
|
||||
config keys may be specified, and cgit will use the first found file
|
||||
in this list. This is useful in conjunction with scan-path. Default
|
||||
value: none. See also: scan-path, repo.readme.
|
||||
|
||||
remove-suffix::
|
||||
If set to "1" and scan-path is enabled, if any repositories are found
|
||||
|
Reference in New Issue
Block a user