git.iko.soy/typeable/pandoc
on master help sign in
Use haddock-library-1.10.0
commitbb2530caa414234f00e7c89ef18a538708b2297c authorAlbert Krewinkel <albert@zeitkraut.de> dateTue 25 May 2021, 17:49 (5 years ago) parentf2c1b57
3 files changed+4−2
pandoc.cabal+1−1 src/Text/Pandoc/Readers/Haddock.hs+2−1 stack.yaml+1
pandoc.cabal+1−1
@@ -461,7 +461,7 @@ library
461461 exceptions >= 0.8 && < 0.11,
462462 file-embed >= 0.0 && < 0.1,
463463 filepath >= 1.1 && < 1.5,
464− haddock-library >= 1.8 && < 1.10,
464+ haddock-library >= 1.10 && < 1.11,
465465 hslua >= 1.1 && < 1.4,
466466 hslua-module-path >= 0.1.0 && < 0.2.0,
467467 hslua-module-system >= 0.2 && < 0.3,
src/Text/Pandoc/Readers/Haddock.hs+2−1
@@ -131,7 +131,8 @@ docHToInlines isCode d' =
131131 DocIdentifier s -> B.codeWith ("",["haskell","identifier"],[]) $ T.pack s
132132 _ -> mempty
133133 DocIdentifierUnchecked s -> B.codeWith ("",["haskell","identifier"],[]) $ T.pack s
134− DocModule s -> B.codeWith ("",["haskell","module"],[]) $ T.pack s
134+ DocModule s -> B.codeWith ("",["haskell","module"],[]) $
135+ T.pack (modLinkName s)
135136 DocWarning _ -> mempty -- TODO
136137 DocEmphasis d -> B.emph (docHToInlines isCode d)
137138 DocMonospaced (DocString s) -> B.code $ T.pack s
stack.yaml+1
@@ -7,6 +7,7 @@ flags:
77packages:
88- '.'
99extra-deps:
10+- haddock-library-1.10.0
1011- hslua-1.3.0
1112- hslua-module-path-0.1.0
1213- jira-wiki-markup-1.4.0