summaryrefslogtreecommitdiff
path: root/per-service/git-servers/roles/cgit/templates/cgitrc
blob: b91acc5a46529bef139e8320e698b6debd6d6a71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# {{ MANAGED_HEADER }}
#
# cgit config
# see cgitrc(5) for details

css=/cgit-css/cgit.css
logo=/cgit-css/git-logo.png

virtual-root=/cgit/
strict-export=git-daemon-export-ok
enable-git-config=1
enable-index-owner=0
clone-prefix=https://{{git_host}} ssh://git@{{git_host}}
snapshots=tar.gz

header={{apache_root}}/cgit/header.html

root-title={{host_site_name}}
root-desc={{host_site_desc}}

max-repo-count=2000

readme=:README.md
readme=:readme.md
readme=:README.mkd
readme=:readme.mkd
readme=:README.rst
readme=:readme.rst
readme=:README.html
readme=:readme.html
readme=:README.htm
readme=:readme.htm
readme=:README.txt
readme=:readme.txt
readme=:README
readme=:readme
readme=:INSTALL.md
readme=:install.md
readme=:INSTALL.mkd
readme=:install.mkd
readme=:INSTALL.rst
readme=:install.rst
readme=:INSTALL.html
readme=:install.html
readme=:INSTALL.htm
readme=:install.htm
readme=:INSTALL.txt
readme=:install.txt
readme=:INSTALL
readme=:install

about-filter={{tools_checkout_dir}}/cgit/filters/about-formatting.sh

section-from-path=1
scan-path={{repo_root}}