-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 | |||
@@ -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 | ||
154 | max-repodesc-length:: | 154 | max-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 | ||
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 |
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 | ||
183 | repo.group:: | 191 | repo.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 | |||
346 | root-desc=tracking the foobar development | 354 | root-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 |
350 | root-readme=/var/www/htdocs/about.html | 358 | root-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 |
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 |
364 | ## | 385 | ## |
365 | 386 | ||
366 | 387 | ||
367 | repo.url=foo | 388 | repo.url=foo |
368 | repo.path=/pub/git/foo.git | 389 | repo.path=/pub/git/foo.git |
369 | repo.desc=the master foo repository | 390 | repo.desc=the master foo repository |