aboutsummaryrefslogtreecommitdiff
path: root/stow/cgit
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf@disroot.org>2024-01-08 10:15:41 +0000
committerInigoGutierrez <inigogf@disroot.org>2024-01-08 10:15:41 +0000
commit4b2e3c4280736fd488df579f78653886884d6622 (patch)
tree79593f45bedfab7b2b7d7ae4862dd4af2b806af5 /stow/cgit
parent14bb646a4164a4fbda8fe0a4799395b5af7df3c8 (diff)
downloadconfigs-4b2e3c4280736fd488df579f78653886884d6622.tar.gz
configs-4b2e3c4280736fd488df579f78653886884d6622.zip
Fix to cgitrc
Diffstat (limited to 'stow/cgit')
-rw-r--r--[l---------]stow/cgit/etc/cgitrc32
1 files changed, 31 insertions, 1 deletions
diff --git a/stow/cgit/etc/cgitrc b/stow/cgit/etc/cgitrc
index ebc0210..7f5ccd6 120000..100644
--- a/stow/cgit/etc/cgitrc
+++ b/stow/cgit/etc/cgitrc
@@ -1 +1,31 @@
-/etc/cgitrc \ No newline at end of file
+#
+# cgit config
+# see cgitrc(5) for details
+
+css=/cgit-css/cgit.css
+logo=/cgit-css/cgitAvatar.jpg
+
+readme=:README
+readme=:README.md
+
+about-filter=/usr/lib/cgit/filters/about-formatting.sh
+
+source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
+
+snapshots=tar.gz zip
+
+enable-http-clone=1
+#clone-prefix=https://git.taamas.xyz git://git.taamas.xyz
+
+# if cgit messes up links, use a virtual-root. For example, cgit.example.org/ has this value:
+virtual-root=/
+
+#
+# List of repositories.
+# This list could be kept in a different file (e.g. '/etc/cgitrepos')
+# and included like this:
+# include=/etc/cgitrepos
+#
+
+scan-path=/home/taamas/repos/remotes/public/
+#scan-path=/var/lib/gitea/data/gitea-repositories/taamas