From 797110e39d5d433638c82cf27d584ed9b8b93bb7 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sat, 21 Aug 2010 15:44:09 +0200 Subject: Add support for 'section-from-path' option This option can be used to autogenerate section names during scan-path processing. Signed-off-by: Lars Hjemli --- cgitrc.5.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cgitrc.5.txt') diff --git a/cgitrc.5.txt b/cgitrc.5.txt index c643fae..95782df 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt @@ -278,6 +278,12 @@ section:: after this option will inherit the current section name. Default value: none. +section-from-path:: + A number which, if specified before scan-path, specifies how many + path elements from each repo path to use as a default section name. + If negative, cgit will discard the specified number of path elements + above the repo directory. Default value: 0. + side-by-side-diffs:: If set to "1" shows side-by-side diffs instead of unidiffs per default. Default value: "0". -- cgit v1.2.3-59-g8ed1b