mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-30 21:00:24 +01:00
Merge pull request #265 from fpco/haskell-lang-rename
Haskell lang rename
This commit is contained in:
commit
3d549adfaf
@ -352,7 +352,7 @@ addPackage e =
|
|||||||
base = takeBaseName fp
|
base = takeBaseName fp
|
||||||
|
|
||||||
renderContent txt "markdown" = preEscapedToHtml $ commonmarkToHtml
|
renderContent txt "markdown" = preEscapedToHtml $ commonmarkToHtml
|
||||||
[optSmart, optSafe]
|
[optSmart]
|
||||||
[extTable, extAutolink]
|
[extTable, extAutolink]
|
||||||
txt
|
txt
|
||||||
renderContent txt "haddock" = renderHaddock txt
|
renderContent txt "haddock" = renderHaddock txt
|
||||||
|
|||||||
@ -10,7 +10,7 @@ import ClassyPrelude.Conduit
|
|||||||
import Text.Blaze.Html (Html, toHtml)
|
import Text.Blaze.Html (Html, toHtml)
|
||||||
|
|
||||||
renderHaddock :: Text -> Html
|
renderHaddock :: Text -> Html
|
||||||
renderHaddock = hToHtml . Haddock.toRegular . _doc . Haddock.parseParas . unpack
|
renderHaddock = hToHtml . Haddock.toRegular . _doc . Haddock.parseParas Nothing . unpack
|
||||||
|
|
||||||
-- | Convert a Haddock doc to HTML.
|
-- | Convert a Haddock doc to HTML.
|
||||||
hToHtml :: DocH String String -> Html
|
hToHtml :: DocH String String -> Html
|
||||||
|
|||||||
@ -1,5 +1 @@
|
|||||||
resolver: nightly-2018-06-20
|
resolver: lts-13.9
|
||||||
extra-deps:
|
|
||||||
- archive: https://github.com/bitemyapp/esqueleto/archive/b81e0d951e510ebffca03c5a58658ad884cc6fbd.tar.gz
|
|
||||||
- archive: https://github.com/snoyberg/githash/archive/be83d64078e7940ce595c5c09efbd8d7d26beff0.tar.gz
|
|
||||||
- archive: https://github.com/snoyberg/yesod-gitrev/archive/5364cf7ffa6b49b46173a99a7f1b48de4f660170.tar.gz
|
|
||||||
|
|||||||
@ -54,17 +54,19 @@
|
|||||||
|
|
||||||
<p>
|
<p>
|
||||||
Have more questions? We have a #
|
Have more questions? We have a #
|
||||||
<a href="https://github.com/fpco/stackage#frequently-asked-questions">FAQ section on Github
|
<a href="https://github.com/fpco/stackage#frequently-asked-questions">FAQ section on Github#
|
||||||
.
|
\.
|
||||||
<h3>
|
<h3>
|
||||||
Related initiatives
|
Related initiatives
|
||||||
<p>
|
<p>
|
||||||
Get started with using Stackage with our tool called Stack at our
|
Stack is the recommended way to use Stackage.
|
||||||
<a href="https://haskell-lang.org/get-started">
|
<p>
|
||||||
Getting Started
|
<a href="https://haskell.fpcomplete.com/get-started">
|
||||||
|
Get started with Stack
|
||||||
on
|
on
|
||||||
<a href="https://haskell-lang.org/">
|
<a href="https://haskell.fpcomplete.com/">#
|
||||||
haskell-lang.org
|
haskell.fpcomplete.com#
|
||||||
|
\.
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
Latest LTS per GHC version
|
Latest LTS per GHC version
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user