diff options
| author | 2014-02-20 03:08:51 (JST) | |
|---|---|---|
| committer | 2014-02-20 03:08:51 (JST) | |
| commit | 6a82b8cad41218d73cabdaac42597ccf13609ea5 (patch) | |
| tree | 5c285b8219aff19bb5b9f419df64f787498291b9 | |
| parent | a68fc66f7f9c5eb4965c5e2d38ef12fb504b2bc0 (diff) | |
| download | cgit-6a82b8cad41218d73cabdaac42597ccf13609ea5.zip cgit-6a82b8cad41218d73cabdaac42597ccf13609ea5.tar.gz | |
Update example cgitrc
| -rw-r--r-- | debian/examples/cgitrc | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/debian/examples/cgitrc b/debian/examples/cgitrc index 1decd2f..95d4216 100644 --- a/debian/examples/cgitrc +++ b/debian/examples/cgitrc | |||
| @@ -16,18 +16,29 @@ snapshots=zip tar.gz | |||
| 16 | 16 | ||
| 17 | ## Enable other nice features. | 17 | ## Enable other nice features. |
| 18 | local-time=1 | 18 | local-time=1 |
| 19 | remove-suffix=1 | ||
| 19 | side-by-side-diffs=1 | 20 | side-by-side-diffs=1 |
| 20 | enable-git-config=1 | 21 | enable-git-config=1 |
| 21 | enable-commit-graph=1 | 22 | enable-commit-graph=1 |
| 22 | enable-log-linecount=1 | 23 | enable-log-linecount=1 |
| 24 | max-stats=quarter | ||
| 23 | 25 | ||
| 24 | ## Enable email gravatar filter. | 26 | ## Display clone URL information. |
| 25 | #email-filter=exec:/usr/lib/cgit/filters/email-gravatar.py | 27 | #clone-prefix=http://your-server/cgit |
| 28 | |||
| 29 | ## Enable email gravatar filter using built-in lua interpreter. | ||
| 30 | ## You need suggested package: lua-md5 | ||
| 31 | #email-filter=lua:/usr/lib/cgit/filters/email-gravatar.lua | ||
| 26 | 32 | ||
| 27 | ## Enable source code highlighting filter by pygments. | 33 | ## Enable source code highlighting filter by pygments. |
| 28 | ## You need suggested package: python-pygments | 34 | ## You need suggested package: python-pygments |
| 29 | #source-filter=exec:/usr/lib/cgit/filters/syntax-highlighting.py | 35 | #source-filter=exec:/usr/lib/cgit/filters/syntax-highlighting.py |
| 30 | 36 | ||
| 37 | ## Enable the "about" page. | ||
| 38 | ## about-formatting.sh supports various formats. | ||
| 39 | #readme=about:index.html about:index.textile about:index.md | ||
| 40 | #about-filter=/usr/lib/cgit/filters/about-formatting.sh | ||
| 41 | |||
| 31 | ## Configuration for repositories foo and bar. | 42 | ## Configuration for repositories foo and bar. |
| 32 | #repo.url=foo | 43 | #repo.url=foo |
| 33 | #repo.path=/pub/git/foo.git | 44 | #repo.path=/pub/git/foo.git |
