-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Test utilities for Haddock
--
-- Test utilities for Haddock
@package haddock-test
@version 0.0.1
module Test.Haddock.Xhtml
newtype Xml
Xml :: Element -> Xml
[xmlElement] :: Xml -> Element
parseXml :: String -> Maybe Xml
dumpXml :: Xml -> String
stripLinks :: Xml -> Xml
stripLinksWhen :: (String -> Bool) -> Xml -> Xml
stripAnchorsWhen :: (String -> Bool) -> Xml -> Xml
stripFooter :: Xml -> Xml
instance GHC.Classes.Eq Test.Haddock.Xhtml.Xml
instance GHC.Classes.Eq Text.XML.Light.Types.Element
instance GHC.Classes.Eq Text.XML.Light.Types.Content
instance GHC.Classes.Eq Text.XML.Light.Types.CData
module Test.Haddock.Config
data TestPackage
TestPackage :: String -> [FilePath] -> TestPackage
[tpkgName] :: TestPackage -> String
[tpkgFiles] :: TestPackage -> [FilePath]
data CheckConfig c
CheckConfig :: (String -> Maybe c) -> (String -> c -> c) -> (c -> String) -> (c -> c -> Bool) -> CheckConfig c
-- | f contents parses file contents contents to produce
-- a thing to be compared.
[ccfgRead] :: CheckConfig c -> String -> Maybe c
-- | f fname x cleans x to such that it can be compared
[ccfgClean] :: CheckConfig c -> String -> c -> c
[ccfgDump] :: CheckConfig c -> c -> String
[ccfgEqual] :: CheckConfig c -> c -> c -> Bool
data DirConfig
DirConfig :: FilePath -> FilePath -> FilePath -> FilePath -> (FilePath -> Bool) -> DirConfig
[dcfgSrcDir] :: DirConfig -> FilePath
[dcfgRefDir] :: DirConfig -> FilePath
[dcfgOutDir] :: DirConfig -> FilePath
[dcfgResDir] :: DirConfig -> FilePath
[dcfgCheckIgnore] :: DirConfig -> FilePath -> Bool
data Config c
Config :: FilePath -> [TestPackage] -> [String] -> FilePath -> Maybe FilePath -> Environment -> Bool -> CheckConfig c -> DirConfig -> Config c
[cfgHaddockPath] :: Config c -> FilePath
[cfgPackages] :: Config c -> [TestPackage]
[cfgHaddockArgs] :: Config c -> [String]
[cfgHaddockStdOut] :: Config c -> FilePath
[cfgDiffTool] :: Config c -> Maybe FilePath
[cfgEnv] :: Config c -> Environment
[cfgAccept] :: Config c -> Bool
[cfgCheckConfig] :: Config c -> CheckConfig c
[cfgDirConfig] :: Config c -> DirConfig
defaultDirConfig :: FilePath -> DirConfig
cfgSrcDir :: Config c -> FilePath
cfgRefDir :: Config c -> FilePath
cfgOutDir :: Config c -> FilePath
cfgResDir :: Config c -> FilePath
parseArgs :: CheckConfig c -> DirConfig -> [String] -> IO (Config c)
checkOpt :: [String] -> IO ([Flag], [String])
loadConfig :: CheckConfig c -> DirConfig -> [Flag] -> [String] -> IO (Config c)
instance GHC.Classes.Eq Test.Haddock.Config.Flag
module Test.Haddock
runAndCheck :: Config c -> IO ()
runHaddock :: Config c -> IO ()
checkFiles :: Config c -> IO ()
instance GHC.Classes.Eq Test.Haddock.CheckResult