diff options
author | Jason A. Donenfeld | 2013-05-26 15:20:02 +0200 |
---|---|---|
committer | Jason A. Donenfeld | 2013-05-26 16:30:03 +0200 |
commit | dcbc0438b2543a733858d62170f3110a89edbed6 (patch) | |
tree | bdacfe4546c88bf6b03860ea69a0cad885fa6af4 /cgitrc.5.txt | |
parent | ui-summary: Disallow directory traversal (diff) | |
download | cgit-dcbc0438b2543a733858d62170f3110a89edbed6.tar.gz cgit-dcbc0438b2543a733858d62170f3110a89edbed6.zip |
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>
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r-- | cgitrc.5.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 12a843b..6437ef4 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt | |||
@@ -290,8 +290,9 @@ project-list:: | |||
290 | 290 | ||
291 | readme:: | 291 | readme:: |
292 | Text which will be used as default value for "repo.readme". Multiple | 292 | Text which will be used as default value for "repo.readme". Multiple |
293 | files may be specified, separated by a space, and cgit will use the | 293 | config keys may be specified, and cgit will use the first found file |
294 | first found file in this list. Default value: none. | 294 | in this list. This is useful in conjunction with scan-path. Default |
295 | value: none. See also: scan-path, repo.readme. | ||
295 | 296 | ||
296 | remove-suffix:: | 297 | remove-suffix:: |
297 | If set to "1" and scan-path is enabled, if any repositories are found | 298 | If set to "1" and scan-path is enabled, if any repositories are found |