on master help sign in
Merge pull request #138 from christopheryoung/master

Documentation tweaks: two small typos and $PATH variable documentation for OS X

commit553350a5c8f902b79f9e717d5eddc28767e4e0fb authorJasper Van der Jeugt <jaspervdj@gmail.com> dateMon 29 Apr 2013, 06:48 (14 years ago) parent64d3802fe88175
2 files changed+13−4
src/Hakyll/Web/Tags.hs+1−1 web/tutorials/01-installation.markdown+12−3
src/Hakyll/Web/Tags.hs+1−1
@@ -16,7 +16,7 @@
1616-- > its populations have been damaged greatly by Nuclear...
1717--
1818-- To use categories, use the 'buildCategories' function. Categories are
19−-- determined by the direcetory a page is in, for example, the post
19+-- determined by the directory a page is in, for example, the post
2020--
2121-- > posts/coding/2010-01-28-hakyll-categories.markdown
2222--
web/tutorials/01-installation.markdown+12−3
@@ -26,15 +26,24 @@ Linux distro packages:
2626Building the example site
2727-------------------------
2828
29−Apart from the main Hakyll library, the cabal package also provided you with an
29+Apart from the main Hakyll library, the cabal package also provides you with an
3030executable `hakyll-init` to create an example site. This is an easy way to get
3131started:
3232
3333 $ hakyll-init my-site
3434
3535This creates a folder `my-site` in the current directory, with some example
36−content and a generic configuration. If `hakyll-init` is not found, you should
37−make sure `$HOME/.cabal/bin` is in your `$PATH`.
36+content and a generic configuration.
37+
38+If `hakyll-init` is not found, you should make sure `$HOME/.cabal/bin` is in
39+your `$PATH`.
40+
41+(If you're on OS X you may not have a bin directory in `$HOME/.cabal`. In this
42+case, check `$HOME/Library/Haskell/bin` and put it on your path if you find
43+`hakyll-init` there. See [here] for more information on installation paths on
44+OS X.)
45+
46+[here]: http://www.haskell.org/haskellwiki/Mac_OS_X_Common_Installation_Paths
3847
3948The file `site.hs` holds the configuration of your site, as an executable
4049haskell program. We can compile and run it like this: