about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-20T18·39+0000
committerVincent Ambo <tazjin@google.com>2019-12-20T18·39+0000
commit26a4dbdbe9be2f9b233b5c530ebf62a0f2c3fb8d (patch)
tree3f9505f62e81650da34d135ecad378173d8927bf
parentd5c5662c5abdb93a2c0a3f8702eed1c812510441 (diff)
feat(cgit-taz): Enable built-in README rendering & syntax highlights r/227
This is currently using a bunch of Python - once I have time this will
be migrated to something saner.
-rw-r--r--services/cgit-taz/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/cgit-taz/default.nix b/services/cgit-taz/default.nix
index cae8020d71..b8eda829a4 100644
--- a/services/cgit-taz/default.nix
+++ b/services/cgit-taz/default.nix
@@ -14,6 +14,8 @@ let
     virtual-root=/
     enable-http-clone=1
     readme=:README.md
+    about-filter=${monocgit}/lib/cgit/filters/about-formatting.sh
+    source-filter=${monocgit}/lib//cgit/filters/syntax-highlighting.py
 
     # Repository configuration
     repo.url=depot