From 327da3652f481e87bb8a39d8cb297eecaf64f71c Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 25 May 2019 18:39:45 +0200 Subject: Add style --- config/cgitrc | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 config/cgitrc (limited to 'config/cgitrc') diff --git a/config/cgitrc b/config/cgitrc new file mode 100644 index 0000000..a16ad8f --- /dev/null +++ b/config/cgitrc @@ -0,0 +1,42 @@ +# +# 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 + -- cgit v1.2.1