-rw-r--r-- | cgitrc.5.txt | 21 |
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 | ||
158 | max-stats:: | 158 | max-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 | ||
163 | mimetype.<ext>:: | ||
164 | Set the mimetype for the specified filename extension. This is used | ||
165 | by the `plain` command when returning blob content. | ||
166 | |||
163 | module-link:: | 167 | module-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 | ||
169 | nocache:: | 173 | nocache:: |
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 | ||
178 | noplainemail:: | ||
179 | If set to "1" showing full author email adresses will be disabled. | ||
180 | Default value: "0". | ||
181 | |||
174 | noheader:: | 182 | noheader:: |
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 | ||
178 | renamelimit:: | 186 | renamelimit:: |
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 |
354 | snapshots=tar.gz tar.bz2 zip | 362 | snapshots=tar.gz tar.bz2 zip |
355 | 363 | ||
356 | 364 | ||
357 | ## | 365 | ## |
366 | ## List of common mimetypes | ||
367 | ## | ||
368 | |||
369 | mimetype.git=image/git | ||
370 | mimetype.html=text/html | ||
371 | mimetype.jpg=image/jpeg | ||
372 | mimetype.jpeg=image/jpeg | ||
373 | mimetype.pdf=application/pdf | ||
374 | mimetype.png=image/png | ||
375 | mimetype.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 |