aboutsummaryrefslogtreecommitdiff
path: root/config/cgitrc
blob: bb8a41449205cf8c18820f09b36004715735dd8c (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
#
# cgit config
# see cgitrc(5) for details

# For generate the page about, juste add this following line in the hooks post-receive (ex in: myrepo.git/hooks/post-receive):
# #!/bin/sh
# CGIT_DIR=$(echo $(pwd) | awk -F'pub_repo' '{print $2}')
# pandoc -f markdown https://git.neodarz.net$CGIT_DIR/plain/README.md > readme.html 

css=/cgit-css/cgit.css
logo=/cgit-css/cgit.png
favicon=/cgit-css/cgit.png
enable-git-config=1
source-filter=/home/git/pub_repo/tools/style/syntax-highlighting.py


snapshots=zip tar.xz

# Show number of added/removed lines per commit on the log pages
enable-log-linecount=1

# Show number of affected files per commit on the log pages
enable-log-filecount=1

# Enable ASCII art commit history graph on the log pages
enable-commit-graph=1

# Show extra links for each repository on the index page
enable-index-links=1

# Remove .git suffix from project display
remove-suffix=1

enable-follow-links=1

enable-index-links=1

clone-url=https://git.neodarz.net/$CGIT_REPO_URL ssh://git@neodarz.net:/home/git/pub_repo/$CGIT_REPO_URL

# For generate this file, juste run /home/git/pub_repo/gitrc_conf_gen.sh
include=/home/git/pub_repo/cgitrepos

max-repo-count=100