diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-06-30 14:06:12 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-06-30 14:06:12 -0400 |
commit | 77f11f2a1ea077c1846fdba08864d5e8f4a347bf (patch) | |
tree | 58689034b49ef5ddcb5e04be7ca252038d5d030c /git.sr.ht/installation.md | |
parent | 1c4fcff942a1e30402361f24ce098b963a80ca72 (diff) | |
download | sr.ht-docs-77f11f2a1ea077c1846fdba08864d5e8f4a347bf.tar.gz |
Add note about highlighting for cgit
Diffstat (limited to 'git.sr.ht/installation.md')
-rw-r--r-- | git.sr.ht/installation.md | 5 |
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 { |