From ae1e304a60a702b983fa1890e1ebcbfef96b1f61 Mon Sep 17 00:00:00 2001 From: toonn Date: Sat, 30 Dec 2017 23:23:07 +0100 Subject: 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 --- doc/languages-frameworks/haskell.section.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/languages-frameworks/haskell.section.md b/doc/languages-frameworks/haskell.section.md index 3b8971c295bb..e5b725b1d5e2 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 -- cgit 1.4.1