aboutsummaryrefslogtreecommitdiffstats
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorChris Burroughs2014-08-04 09:23:08 -0400
committerJason A. Donenfeld2014-12-23 19:08:20 -0700
commit96ceb9a95a7a321209cff347fefd141a9fffc7ca (patch)
tree5077ac54da1f7992d991746492855665454147c9 /cgitrc.5.txt
parent3c53ebfb57a5dba8fc65b2f99ebbfb6356666e34 (diff)
downloadcgit-96ceb9a95a7a321209cff347fefd141a9fffc7ca.tar.gz
cgit-96ceb9a95a7a321209cff347fefd141a9fffc7ca.tar.bz2
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 'cgitrc.5.txt')
-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::
247 calculated url of the repository index page will be used. Default 247 calculated url of the repository index page will be used. Default
248 value: none. 248 value: none.
249 249
250owner-filter::
251 Specifies a command which will be invoked to format the Owner
252 column of the main page. The command will get the owner on STDIN,
253 and the STDOUT from the command will be included verbatim in the
254 table. This can be used to link to additional context such as an
255 owners home page. When active this filter is used instead of the
256 default owner query url. Default value: none.
257 See also: "FILTER API".
258
250max-atom-items:: 259max-atom-items::
251 Specifies the number of items to display in atom feeds view. Default 260 Specifies the number of items to display in atom feeds view. Default
252 value: "10". 261 value: "10".
@@ -509,6 +518,10 @@ repo.logo-link::
509 calculated url of the repository index page will be used. Default 518 calculated url of the repository index page will be used. Default
510 value: global logo-link. 519 value: global logo-link.
511 520
521repo.owner-filter::
522 Override the default owner-filter. Default value: none. See also:
523 "enable-filter-overrides". See also: "FILTER API".
524
512repo.module-link:: 525repo.module-link::
513 Text which will be used as the formatstring for a hyperlink when a 526 Text which will be used as the formatstring for a hyperlink when a
514 submodule is printed in a directory listing. The arguments for the 527 submodule is printed in a directory listing. The arguments for the
@@ -641,6 +654,11 @@ email filter::
641 expected to write to standard output the formatted text to be included 654 expected to write to standard output the formatted text to be included
642 in the page. 655 in the page.
643 656
657owner filter::
658 This filter is given no arguments. The owner text is avilable on
659 standard input and the filter is expected to write to standard
660 output. The output is included in the Owner column.
661
644source filter:: 662source filter::
645 This filter is given a single parameter: the filename of the source 663 This filter is given a single parameter: the filename of the source
646 file to filter. The filter can use the filename to determine (for 664 file to filter. The filter can use the filename to determine (for