aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-05-25 18:39:45 +0200
committerneodarz <neodarz@neodarz.net>2019-05-25 18:39:45 +0200
commit327da3652f481e87bb8a39d8cb297eecaf64f71c (patch)
treef6a001296de519e5b60134987418d70d4946e030 /config
parent1f781fa923e98104c3c099751ea552b8cdea73fc (diff)
downloadtools_git_perso-327da3652f481e87bb8a39d8cb297eecaf64f71c.tar.xz
tools_git_perso-327da3652f481e87bb8a39d8cb297eecaf64f71c.zip
Add style
Diffstat (limited to 'config')
-rw-r--r--config/cgitrc42
1 files changed, 42 insertions, 0 deletions
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
+