aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--git.sr.ht/installation.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/git.sr.ht/installation.md b/git.sr.ht/installation.md
index f72c1ab..5ca6100 100644
--- a/git.sr.ht/installation.md
+++ b/git.sr.ht/installation.md
@@ -25,13 +25,16 @@ cgitrc file to the following configuration:
enable-index-owner=0
embedded=1
noheader=1
- source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
+ source-filter=/usr/lib/cgit/filters/syntax-highlighting.sh
clone-url=__CLONE_URL__
snapshots=tar.xz
scan-path=/var/lib/git/
readme=:README
readme=:readme
+Make sure your syntax highlighting script looks good. You will probably need to
+add `--inline-css` or so.
+
Then configure nginx to serve cgit to localhost with something like this:
server {