on master help sign in
Add makefile, hyperlink source in reference
893b366Jasper Van der Jeugt
Makefilenew file+9
@@ -0,0 +1,9 @@
1+# Generate the docs and copy them to the website dir
2+haddock:
3+ cabal haddock --hyperlink-source
4+ rm -rf examples/hakyll/reference/
5+ cp -r dist/doc/html/hakyll/ examples/hakyll/reference/
6+
7+# Run the tests
8+test:
9+ runghc -isrc -itests tests/TestSuite.hs
examples/hakyll/hakyll.hs+1−1
@@ -11,7 +11,7 @@ main = hakyll $ do
11 compile compressCssCompiler
11 compile compressCssCompiler
12
12
13 -- Static directories
13 -- Static directories
14− forM_ ["images/*", "examples/*", "reference/*"] $ \f -> match f $ do
14+ forM_ ["images/*", "examples/*", "reference/**"] $ \f -> match f $ do
15 route idRoute
15 route idRoute
16 compile copyFileCompiler
16 compile copyFileCompiler
17
17