about summary refs log tree commit diff
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2023-12-16 07:43:48 -0600
committergennyble <gen@nyble.dev>2023-12-16 07:43:48 -0600
commit733a517036bc5ad3327b41f494b0d09cd2470262 (patch)
tree4581a25c2fd60c7e5ef075c6aad788fd1575bfbe /cgitrc.5.txt
parentfad097a08e55c9eec0fa86efec72de4426674ca2 (diff)
downloadcgit-pink-733a517036bc5ad3327b41f494b0d09cd2470262.tar.gz
cgit-pink-733a517036bc5ad3327b41f494b0d09cd2470262.zip
allow ordering sections with scan-path HEAD master
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r--cgitrc.5.txt14
1 files changed, 10 insertions, 4 deletions
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