Added documentation for Gravatar support
[m6w6/gitweb-theme] / README.rst
index 779b2f8b21f157031c00318812a979d832c79ea3..efff7a5e2d7332d74db17b0b872b9e257e7b5673 100644 (file)
@@ -26,6 +26,14 @@ Just clone the repository to a location of your choice, probably into the same d
 
 Of course you can just copy them to the new location. If you see some missing things or errors, please create a ticket or fix it and send a pull request.
 
+Optionally, you can enable syntax highlighting for your code. Install the highligh package with your package manager and add this line to /etc/gitweb.conf:
+
+  $feature{'highlight'}{'default'} = [1];
+
+You can enable Gravatar support with this line:
+
+  $feature{'avatar'}{'default'} = ['gravatar'];
+
 .. _gitweb: http://git.or.cz/gitwiki/Gitweb
 .. _kogakure.github.com/gitweb-theme: http://kogakure.github.com/gitweb-theme