-rw-r--r-- | cgitrc.5.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 4dc383d..e7f1a78 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt | |||
@@ -1,48 +1,51 @@ | |||
1 | :man source: cgit | ||
2 | :man manual: cgit | ||
3 | |||
1 | CGITRC(5) | 4 | CGITRC(5) |
2 | ======== | 5 | ======== |
3 | 6 | ||
4 | 7 | ||
5 | NAME | 8 | NAME |
6 | ---- | 9 | ---- |
7 | cgitrc - runtime configuration for cgit | 10 | cgitrc - runtime configuration for cgit |
8 | 11 | ||
9 | 12 | ||
10 | SYNOPSIS | 13 | SYNOPSIS |
11 | -------- | 14 | -------- |
12 | Cgitrc contains all runtime settings for cgit, including the list of git | 15 | Cgitrc contains all runtime settings for cgit, including the list of git |
13 | repositories, formatted as a line-separated list of NAME=VALUE pairs. Blank | 16 | repositories, formatted as a line-separated list of NAME=VALUE pairs. Blank |
14 | lines, and lines starting with '#', are ignored. | 17 | lines, and lines starting with '#', are ignored. |
15 | 18 | ||
16 | 19 | ||
17 | LOCATION | 20 | LOCATION |
18 | -------- | 21 | -------- |
19 | The default location of cgitrc, defined at compile time, is /etc/cgitrc. At | 22 | The default location of cgitrc, defined at compile time, is /etc/cgitrc. At |
20 | runtime, cgit will consult the environment variable CGIT_CONFIG and, if | 23 | runtime, cgit will consult the environment variable CGIT_CONFIG and, if |
21 | defined, use its value instead. | 24 | defined, use its value instead. |
22 | 25 | ||
23 | 26 | ||
24 | GLOBAL SETTINGS | 27 | GLOBAL SETTINGS |
25 | --------------- | 28 | --------------- |
26 | about-filter:: | 29 | about-filter:: |
27 | Specifies a command which will be invoked to format the content of | 30 | Specifies a command which will be invoked to format the content of |
28 | about pages (both top-level and for each repository). The command will | 31 | about pages (both top-level and for each repository). The command will |
29 | get the content of the about-file on its STDIN, and the STDOUT from the | 32 | get the content of the about-file on its STDIN, and the STDOUT from the |
30 | command will be included verbatim on the about page. Default value: | 33 | command will be included verbatim on the about page. Default value: |
31 | none. | 34 | none. |
32 | 35 | ||
33 | agefile:: | 36 | agefile:: |
34 | Specifies a path, relative to each repository path, which can be used | 37 | Specifies a path, relative to each repository path, which can be used |
35 | to specify the date and time of the youngest commit in the repository. | 38 | to specify the date and time of the youngest commit in the repository. |
36 | The first line in the file is used as input to the "parse_date" | 39 | The first line in the file is used as input to the "parse_date" |
37 | function in libgit. Recommended timestamp-format is "yyyy-mm-dd | 40 | function in libgit. Recommended timestamp-format is "yyyy-mm-dd |
38 | hh:mm:ss". Default value: "info/web/last-modified". | 41 | hh:mm:ss". Default value: "info/web/last-modified". |
39 | 42 | ||
40 | cache-root:: | 43 | cache-root:: |
41 | Path used to store the cgit cache entries. Default value: | 44 | Path used to store the cgit cache entries. Default value: |
42 | "/var/cache/cgit". | 45 | "/var/cache/cgit". |
43 | 46 | ||
44 | cache-dynamic-ttl:: | 47 | cache-dynamic-ttl:: |
45 | Number which specifies the time-to-live, in minutes, for the cached | 48 | Number which specifies the time-to-live, in minutes, for the cached |
46 | version of repository pages accessed without a fixed SHA1. Default | 49 | version of repository pages accessed without a fixed SHA1. Default |
47 | value: "5". | 50 | value: "5". |
48 | 51 | ||