[commit: haddock] ghc-head, ghc-head1, master, wip/revert-ttg-2017-11-20, wip/ttg-2017-11-06, wip/ttg2-2017-11-10, wip/ttg3-2017-11-12, wip/ttg4-constraints-2017-11-13: QuickNav: Also use baseUrl for doc-index.json request (c9f8657)

git at git.haskell.org git at git.haskell.org
Mon Nov 20 21:10:40 UTC 2017


Repository : ssh://git@git.haskell.org/haddock

On branches: ghc-head,ghc-head1,master,wip/revert-ttg-2017-11-20,wip/ttg-2017-11-06,wip/ttg2-2017-11-10,wip/ttg3-2017-11-12,wip/ttg4-constraints-2017-11-13
Link       : http://git.haskell.org/haddock.git/commitdiff/c9f8657ed98f8813e43c3316bc53812fb2a81eb3

>---------------------------------------------------------------

commit c9f8657ed98f8813e43c3316bc53812fb2a81eb3
Author: Alexander Biehl <abiehl at novomind.com>
Date:   Tue Aug 29 11:48:36 2017 +0200

    QuickNav: Also use baseUrl for doc-index.json request


>---------------------------------------------------------------

c9f8657ed98f8813e43c3316bc53812fb2a81eb3
 haddock-api/resources/html/index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/haddock-api/resources/html/index.js b/haddock-api/resources/html/index.js
index 109a106..fccd034 100644
--- a/haddock-api/resources/html/index.js
+++ b/haddock-api/resources/html/index.js
@@ -80,7 +80,7 @@ var App = createClass({
       activeLinkIndex: -1,
       moduleResults: []
     });
-    loadJSON("doc-index.json", function(data) {
+    loadJSON(baseUrl + "/doc-index.json", function(data) {
       self.setState({
         fuse: new Fuse(data, {
           threshold: 0.4,



More information about the ghc-commits mailing list