summaryrefslogtreecommitdiffabout
path: root/cgitrc.5.txt
Unidiff
Diffstat (limited to 'cgitrc.5.txt') (more/less context) (ignore whitespace changes)
-rw-r--r--cgitrc.5.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index d8e4b97..4d656fe 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -151,35 +151,43 @@ max-repo-count::
151 Specifies the number of entries to list per page on therepository 151 Specifies the number of entries to list per page on therepository
152 index page. Default value: "50". 152 index page. Default value: "50".
153 153
154max-repodesc-length:: 154max-repodesc-length::
155 Specifies the maximum number of repo description characters to display 155 Specifies the maximum number of repo description characters to display
156 on the repository index page. Default value: "80". 156 on the repository index page. Default value: "80".
157 157
158max-stats:: 158max-stats::
159 Set the default maximum statistics period. Valid values are "week", 159 Set the default maximum statistics period. Valid values are "week",
160 "month", "quarter" and "year". If unspecified, statistics are 160 "month", "quarter" and "year". If unspecified, statistics are
161 disabled. Default value: none. See also: "repo.max-stats". 161 disabled. Default value: none. See also: "repo.max-stats".
162 162
163mimetype.<ext>::
164 Set the mimetype for the specified filename extension. This is used
165 by the `plain` command when returning blob content.
166
163module-link:: 167module-link::
164 Text which will be used as the formatstring for a hyperlink when a 168 Text which will be used as the formatstring for a hyperlink when a
165 submodule is printed in a directory listing. The arguments for the 169 submodule is printed in a directory listing. The arguments for the
166 formatstring are the path and SHA1 of the submodule commit. Default 170 formatstring are the path and SHA1 of the submodule commit. Default
167 value: "./?repo=%s&page=commit&id=%s" 171 value: "./?repo=%s&page=commit&id=%s"
168 172
169nocache:: 173nocache::
170 If set to the value "1" caching will be disabled. This settings is 174 If set to the value "1" caching will be disabled. This settings is
171 deprecated, and will not be honored starting with cgit-1.0. Default 175 deprecated, and will not be honored starting with cgit-1.0. Default
172 value: "0". 176 value: "0".
173 177
178noplainemail::
179 If set to "1" showing full author email adresses will be disabled.
180 Default value: "0".
181
174noheader:: 182noheader::
175 Flag which, when set to "1", will make cgit omit the standard header 183 Flag which, when set to "1", will make cgit omit the standard header
176 on all pages. Default value: none. See also: "embedded". 184 on all pages. Default value: none. See also: "embedded".
177 185
178renamelimit:: 186renamelimit::
179 Maximum number of files to consider when detecting renames. The value 187 Maximum number of files to consider when detecting renames. The value
180 "-1" uses the compiletime value in git (for further info, look at 188 "-1" uses the compiletime value in git (for further info, look at
181 `man git-diff`). Default value: "-1". 189 `man git-diff`). Default value: "-1".
182 190
183repo.group:: 191repo.group::
184 A value for the current repository group, which all repositories 192 A value for the current repository group, which all repositories
185 specified after this setting will inherit. Default value: none. 193 specified after this setting will inherit. Default value: none.
@@ -346,24 +354,37 @@ root-title=foobar.com git repositories
346root-desc=tracking the foobar development 354root-desc=tracking the foobar development
347 355
348 356
349# Include some more info about foobar.com on the index page 357# Include some more info about foobar.com on the index page
350root-readme=/var/www/htdocs/about.html 358root-readme=/var/www/htdocs/about.html
351 359
352 360
353# Allow download of tar.gz, tar.bz2 and zip-files 361# Allow download of tar.gz, tar.bz2 and zip-files
354snapshots=tar.gz tar.bz2 zip 362snapshots=tar.gz tar.bz2 zip
355 363
356 364
357## 365##
366## List of common mimetypes
367##
368
369mimetype.git=image/git
370mimetype.html=text/html
371mimetype.jpg=image/jpeg
372mimetype.jpeg=image/jpeg
373mimetype.pdf=application/pdf
374mimetype.png=image/png
375mimetype.svg=image/svg+xml
376
377
378##
358## List of repositories. 379## List of repositories.
359## PS: Any repositories listed when repo.group is unset will not be 380## PS: Any repositories listed when repo.group is unset will not be
360## displayed under a group heading 381## displayed under a group heading
361## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos') 382## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos')
362## and included like this: 383## and included like this:
363## include=/etc/cgitrepos 384## include=/etc/cgitrepos
364## 385##
365 386
366 387
367repo.url=foo 388repo.url=foo
368repo.path=/pub/git/foo.git 389repo.path=/pub/git/foo.git
369repo.desc=the master foo repository 390repo.desc=the master foo repository