summary refs log tree commit diff
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorequa <equaa@protonmail.com>2022-01-06 18:18:05 -0600
committerequa <equaa@protonmail.com>2022-01-06 18:36:08 -0600
commit99c81764f66c0877a7ed66f5a03d52f948377678 (patch)
tree97626b497daa42b067e2ba2a49f8f9f56a240f39 /cgitrc.5.txt
parent5258c297ba6fb604ae1415fbc19a3fe42457e49e (diff)
Add "default-tab" and "root-default-tab" configuration options HEAD master
These options allow the user to specify a page to display at the root
repository/index location instead of the default summary or repository list.

Signed-off-by: equa <equaa@protonmail.com>
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r--cgitrc.5.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 33a6a8c..f32fb33 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -128,6 +128,10 @@ css::
 	Url which specifies the css document to include in all cgit pages.
 	Default value: "/cgit.css".
 
+default-tab::
+	Specifies the tab to automatically load in the root page of a repository.
+	Default value: "summary". See also: root-default-tab, repo.default-tab.
+
 email-filter::
 	Specifies a command which will be invoked to format names and email
 	address of committers, authors, and taggers, as represented in various
@@ -352,6 +356,10 @@ robots::
 	Text used as content for the "robots" meta-tag. Default value:
 	"index, nofollow".
 
+root-default-tab::
+	Specifies the tab to automatically load as the root index page.
+	Default value: "repolist". See also: default-tab, repo.default-tab.
+
 root-desc::
 	Text printed below the heading on the repository index page. Default
 	value: "a fast webinterface for the git dscm".
@@ -481,6 +489,9 @@ repo.defbranch::
 	as default instead. Default value: branch pointed to by HEAD, or
 	"master" if there is no suitable HEAD.
 
+repo.default-tab::
+	Override the global default-tab. Default value: none.
+
 repo.desc::
 	The value to show as repository description. Default value: none.