summaryrefslogtreecommitdiffabout
path: root/cgitrc.5.txt
Unidiff
Diffstat (limited to 'cgitrc.5.txt') (more/less context) (show 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
@@ -157,23 +157,31 @@ max-repodesc-length::
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
@@ -352,12 +360,25 @@ root-readme=/var/www/htdocs/about.html
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