diff options
author | Florian Eggenhofer <egg@informatik.uni-freiburg.de> | 2017-08-27 18:21:56 +0200 |
---|---|---|
committer | Alexander Biehl <alexbiehl@gmail.com> | 2017-08-27 18:21:56 +0200 |
commit | 3a09040a16fb574254d4dc095047ed7b0b7beb19 (patch) | |
tree | fef3bf3988ae3dea0cd84aa47a000daf5e05f15d /haddock-api/src/Haddock/Utils.hs | |
parent | 3457241d8cf340a22e85329be9fe2f5d4b964697 (diff) |
Generate an index for package content search (#662)
Generate an index for package content search
Diffstat (limited to 'haddock-api/src/Haddock/Utils.hs')
-rw-r--r-- | haddock-api/src/Haddock/Utils.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/haddock-api/src/Haddock/Utils.hs b/haddock-api/src/Haddock/Utils.hs index 7a9d65a4..200cd00a 100644 --- a/haddock-api/src/Haddock/Utils.hs +++ b/haddock-api/src/Haddock/Utils.hs @@ -20,7 +20,7 @@ module Haddock.Utils ( -- * Filename utilities moduleHtmlFile, moduleHtmlFile', - contentsHtmlFile, indexHtmlFile, + contentsHtmlFile, indexHtmlFile, indexJsonFile, moduleIndexFrameName, mainFrameName, synopsisFrameName, subIndexHtmlFile, jsFile, @@ -254,9 +254,10 @@ moduleHtmlFile' mdl = Just fp0 -> HtmlPath.joinPath [fp0, baseName mdl ++ ".html"] -contentsHtmlFile, indexHtmlFile :: String +contentsHtmlFile, indexHtmlFile, indexJsonFile :: String contentsHtmlFile = "index.html" indexHtmlFile = "doc-index.html" +indexJsonFile = "doc-index.json" |