diff options
author | toonn <toonn@toonn.io> | 2017-12-30 23:23:07 +0100 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2018-05-22 13:10:57 +0200 |
commit | ae1e304a60a702b983fa1890e1ebcbfef96b1f61 (patch) | |
tree | c347d7c73546b60fac22b145558b6160a8d9cce3 /doc | |
parent | c29d2fde74d03178ed42655de6dee389f2b7d37f (diff) |
haskell docs: add info about hoogle's --local flag to section 9.5.2.3
Relevant section: 9.5.2.3. How to install a compiler with libraries, hoogle and documentation indexes Since version 5 `hoogle server`s --local flag solves the problem with links from `http:` to `file:` URIs: hoogle server --local -p 8080
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/haskell.section.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/languages-frameworks/haskell.section.md b/doc/languages-frameworks/haskell.section.md index 3b8971c295bb5..e5b725b1d5e23 100644 --- a/doc/languages-frameworks/haskell.section.md +++ b/doc/languages-frameworks/haskell.section.md @@ -337,7 +337,12 @@ Finally, you can run hoogle server -p 8080 --local ``` and navigate to http://localhost:8080/ for your own local -[Hoogle](https://www.haskell.org/hoogle/). +[Hoogle](https://www.haskell.org/hoogle/). Note, however, that Firefox and +possibly other browsers disallow navigation from `http:` to `file:` URIs for +security reasons, which might be quite an inconvenience. Since version 5 hoogle +server has a `--local` flag that solves the problem. For older versions see +[this page](http://kb.mozillazine.org/Links_to_local_pages_do_not_work) for +workarounds. ### How to build a Haskell project using Stack |