From efe96cc0e19d69e74e235c431c634040ee08baa6 Mon Sep 17 00:00:00 2001 From: Naïm Favier Date: Mon, 9 Dec 2019 19:38:14 +0100 Subject: Make default pages configurable --- cgitrc.5.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'cgitrc.5.txt') diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 33a6a8c..a7fa5d0 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt @@ -128,6 +128,12 @@ css:: Url which specifies the css document to include in all cgit pages. Default value: "/cgit.css". +default-page:: + Specifies the default page for repositories. This setting is only used + if `repo.default-page` is unspecified. Possible values: "about", + "summary", "refs", "log", "tree", "commit", "diff", "stats". Default + value: "summary". + 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 +358,10 @@ robots:: Text used as content for the "robots" meta-tag. Default value: "index, nofollow". +root-default-page:: + Specifies the default root page. Possible values are "repolist" and + "about". Default value: "repolist". + root-desc:: Text printed below the heading on the repository index page. Default value: "a fast webinterface for the git dscm". @@ -475,6 +485,10 @@ repo.commit-sort:: ordering. If unset, the default ordering of "git log" is used. Default value: unset. +repo.default-page:: + Specifies the default page for the repository. Default value: global + default-page. + repo.defbranch:: The name of the default branch for this repository. If no such branch exists in the repository, the first branch name (when sorted) is used -- cgit v1.2.3-54-g00ecf