From 733a517036bc5ad3327b41f494b0d09cd2470262 Mon Sep 17 00:00:00 2001 From: gennyble Date: Sat, 16 Dec 2023 07:43:48 -0600 Subject: allow ordering sections with scan-path --- cgitrc.5.txt | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'cgitrc.5.txt') diff --git a/cgitrc.5.txt b/cgitrc.5.txt index cafb535..4fa3f9a 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt @@ -389,10 +389,16 @@ section:: none. section-sort:: - Flag which, when set to "1", will sort the sections on the repository - listing by name. Set this flag to "0" if the order in the cgitrc file should - be preserved. Default value: "1". See also: section, - case-sensitive-sort, repository-sort. + The way in which sections are sorted. Valid values are "name" for sorting + by section name or "order" to sort with section-order. Any other value will + preserve the order in the cgitrc file. Default value: "name". See also: + section, section-order, case-sensitive-sort, repository-sort. + +section-order:: + The name of a directory to put at the top of the repolist. Multiple config + keys may be specified and will appear in order. Repositories without a + section appear before ordered sections and sections not defined will appear + after, sorted by name. See also: section-sort section-from-path:: A number which, if defined prior to scan-path, specifies how many -- cgit 1.4.1-3-g733a5