Permalink
Browse files

README: Added section on hacking gitit2.

  • Loading branch information...
1 parent 226133c commit 45814c7eebaba4f9adb2c5b48d82a0d63591625b @jgm jgm committed Mar 18, 2013
Showing with 17 additions and 0 deletions.
  1. +17 −0 README.markdown
View
17 README.markdown
@@ -59,3 +59,20 @@ pandoc supports.
[Yesod]: http://www.yesodweb.com/
+Hacking gitit2
+--------------
+
+Here are some notes for those who want to modify or
+add to the code.
+
+* The library is all in one file, `Network/Gitit.hs`.
+* The executable, which uses the library, is in `src/gitit.hs`.
+* There are no longer any templates. The HTML is produced
+ by hamlet code in `Network/Gitit.hs`.
+* To change the css, modify `data/screen.less`, then do
+ `make css`. This requires that you have `lessc` in your
+ path: `npm install -g less`. It also requires bootstrap,
+ which is included as a git submodule:
+ `git submodule update --init`.
+
+

0 comments on commit 45814c7

Please sign in to comment.