aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends/Xhtml/Layout.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Haddock/Backends/Xhtml/Layout.hs')
-rw-r--r--src/Haddock/Backends/Xhtml/Layout.hs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/Haddock/Backends/Xhtml/Layout.hs b/src/Haddock/Backends/Xhtml/Layout.hs
index 93ce0987..124d6150 100644
--- a/src/Haddock/Backends/Xhtml/Layout.hs
+++ b/src/Haddock/Backends/Xhtml/Layout.hs
@@ -24,17 +24,6 @@ import FastString ( unpackFS )
import GHC
-declWithDoc :: Bool -> LinksInfo -> SrcSpan -> DocName -> Maybe (Doc DocName) -> Html -> Html
-declWithDoc True _ _ _ _ html_decl = declElem html_decl
-declWithDoc False links loc nm doc html_decl =
- topDeclElem links loc nm html_decl +++ maybeDocToHtml doc
-
-
-{-
-text :: Html
-text = strAttr "TEXT"
--}
-
-- a box for displaying code
declElem :: Html -> Html
declElem = paragraph ! [theclass "decl"]