Use haddock-library-1.10.0

This commit is contained in:
Albert Krewinkel 2021-05-25 17:49:48 +02:00 committed by John MacFarlane
parent f2c1b57469
commit bb2530caa4
3 changed files with 4 additions and 2 deletions

View file

@ -461,7 +461,7 @@ library
exceptions >= 0.8 && < 0.11, exceptions >= 0.8 && < 0.11,
file-embed >= 0.0 && < 0.1, file-embed >= 0.0 && < 0.1,
filepath >= 1.1 && < 1.5, filepath >= 1.1 && < 1.5,
haddock-library >= 1.8 && < 1.10, haddock-library >= 1.10 && < 1.11,
hslua >= 1.1 && < 1.4, hslua >= 1.1 && < 1.4,
hslua-module-path >= 0.1.0 && < 0.2.0, hslua-module-path >= 0.1.0 && < 0.2.0,
hslua-module-system >= 0.2 && < 0.3, hslua-module-system >= 0.2 && < 0.3,

View file

@ -131,7 +131,8 @@ docHToInlines isCode d' =
DocIdentifier s -> B.codeWith ("",["haskell","identifier"],[]) $ T.pack s DocIdentifier s -> B.codeWith ("",["haskell","identifier"],[]) $ T.pack s
_ -> mempty _ -> mempty
DocIdentifierUnchecked s -> B.codeWith ("",["haskell","identifier"],[]) $ T.pack s DocIdentifierUnchecked s -> B.codeWith ("",["haskell","identifier"],[]) $ T.pack s
DocModule s -> B.codeWith ("",["haskell","module"],[]) $ T.pack s DocModule s -> B.codeWith ("",["haskell","module"],[]) $
T.pack (modLinkName s)
DocWarning _ -> mempty -- TODO DocWarning _ -> mempty -- TODO
DocEmphasis d -> B.emph (docHToInlines isCode d) DocEmphasis d -> B.emph (docHToInlines isCode d)
DocMonospaced (DocString s) -> B.code $ T.pack s DocMonospaced (DocString s) -> B.code $ T.pack s

View file

@ -7,6 +7,7 @@ flags:
packages: packages:
- '.' - '.'
extra-deps: extra-deps:
- haddock-library-1.10.0
- hslua-1.3.0 - hslua-1.3.0
- hslua-module-path-0.1.0 - hslua-module-path-0.1.0
- jira-wiki-markup-1.4.0 - jira-wiki-markup-1.4.0