Skip to content
This repository
Browse code

README: Added section on hacking gitit2.

  • Loading branch information...
commit 45814c7eebaba4f9adb2c5b48d82a0d63591625b 1 parent 226133c
John MacFarlane authored

Showing 1 changed file with 17 additions and 0 deletions. Show diff stats Hide diff stats

  1. +17 0 README.markdown
17 README.markdown
Source Rendered
@@ -59,3 +59,20 @@ pandoc supports.
59 59
60 60 [Yesod]: http://www.yesodweb.com/
61 61
  62 +Hacking gitit2
  63 +--------------
  64 +
  65 +Here are some notes for those who want to modify or
  66 +add to the code.
  67 +
  68 +* The library is all in one file, `Network/Gitit.hs`.
  69 +* The executable, which uses the library, is in `src/gitit.hs`.
  70 +* There are no longer any templates. The HTML is produced
  71 + by hamlet code in `Network/Gitit.hs`.
  72 +* To change the css, modify `data/screen.less`, then do
  73 + `make css`. This requires that you have `lessc` in your
  74 + path: `npm install -g less`. It also requires bootstrap,
  75 + which is included as a git submodule:
  76 + `git submodule update --init`.
  77 +
  78 +

0 comments on commit 45814c7

Please sign in to comment.
Something went wrong with that request. Please try again.