Skip to content

Commit

Permalink
README: Added section on hacking gitit2.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Mar 18, 2013
1 parent 226133c commit 45814c7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.markdown
Expand Up @@ -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.