From c6eab25b7b9b6b8fb077014de61324416e4f2816 Mon Sep 17 00:00:00 2001 From: Mark Lentczner Date: Fri, 23 Jul 2010 06:19:35 +0000 Subject: command like processing for theme selection The bulk of the change is threadnig the selected theme set through functions in Xhtml.hs so that the selected themes can be used when generating the page output. There isn't much going on in most of these changes, just passing it along. The real work is all done in Themes.hs. --- src/Haddock/Utils.hs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/Haddock/Utils.hs') diff --git a/src/Haddock/Utils.hs b/src/Haddock/Utils.hs index b5ef2f71..003706cd 100644 --- a/src/Haddock/Utils.hs +++ b/src/Haddock/Utils.hs @@ -22,7 +22,7 @@ module Haddock.Utils ( frameIndexHtmlFile, moduleIndexFrameName, mainFrameName, synopsisFrameName, subIndexHtmlFile, - cssFile, iconFile, jsFile, plusFile, minusFile, framesFile, + jsFile, plusFile, minusFile, framesFile, -- * Anchor and URL utilities moduleNameUrl, moduleUrl, @@ -257,9 +257,7 @@ makeAnchorId (f:r) = escape isAlpha f ++ concatMap (escape isLegal) r ------------------------------------------------------------------------------- -cssFile, iconFile, jsFile, plusFile, minusFile, framesFile :: String -cssFile = "haddock.css" -iconFile = "haskell_icon.gif" +jsFile, plusFile, minusFile, framesFile :: String jsFile = "haddock-util.js" plusFile = "plus.gif" minusFile = "minus.gif" -- cgit v1.2.3