aboutsummaryrefslogtreecommitdiffstats
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorChris Burroughs <chris.burroughs@gmail.com>2014-08-04 09:23:08 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2014-12-23 19:08:20 -0700
commit96ceb9a95a7a321209cff347fefd141a9fffc7ca (patch)
tree5077ac54da1f7992d991746492855665454147c9 /cgitrc.5.txt
parentui-shared: add rel-vcs microformat links to HTML header (diff)
downloadcgit-96ceb9a95a7a321209cff347fefd141a9fffc7ca.tar.xz
cgit-96ceb9a95a7a321209cff347fefd141a9fffc7ca.zip
repolist: add owner-filter
This allows custom links to be used for repository owners by configuring a filter to be applied in the "Owner" column in the repository list.
Diffstat (limited to '')
-rw-r--r--cgitrc.5.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 104b223..be6703f 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -247,6 +247,15 @@ logo-link::
calculated url of the repository index page will be used. Default
value: none.
+owner-filter::
+ Specifies a command which will be invoked to format the Owner
+ column of the main page. The command will get the owner on STDIN,
+ and the STDOUT from the command will be included verbatim in the
+ table. This can be used to link to additional context such as an
+ owners home page. When active this filter is used instead of the
+ default owner query url. Default value: none.
+ See also: "FILTER API".
+
max-atom-items::
Specifies the number of items to display in atom feeds view. Default
value: "10".
@@ -509,6 +518,10 @@ repo.logo-link::
calculated url of the repository index page will be used. Default
value: global logo-link.
+repo.owner-filter::
+ Override the default owner-filter. Default value: none. See also:
+ "enable-filter-overrides". See also: "FILTER API".
+
repo.module-link::
Text which will be used as the formatstring for a hyperlink when a
submodule is printed in a directory listing. The arguments for the
@@ -641,6 +654,11 @@ email filter::
expected to write to standard output the formatted text to be included
in the page.
+owner filter::
+ This filter is given no arguments. The owner text is avilable on
+ standard input and the filter is expected to write to standard
+ output. The output is included in the Owner column.
+
source filter::
This filter is given a single parameter: the filename of the source
file to filter. The filter can use the filename to determine (for