diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0844e71..b40e2e4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -57,7 +57,8 @@ build: deploy_prod: stage: deploy only: - - production-deployment + - master + when: manual environment: name: production url: https://www.stackage.org/ diff --git a/src/Stackage/Database.hs b/src/Stackage/Database.hs index 0812fa2..d506701 100644 --- a/src/Stackage/Database.hs +++ b/src/Stackage/Database.hs @@ -352,7 +352,7 @@ addPackage e = base = takeBaseName fp renderContent txt "markdown" = preEscapedToHtml $ commonmarkToHtml - [optSmart, optSafe] + [optSmart] [extTable, extAutolink] txt renderContent txt "haddock" = renderHaddock txt diff --git a/src/Stackage/Database/Haddock.hs b/src/Stackage/Database/Haddock.hs index 681702e..ae41581 100644 --- a/src/Stackage/Database/Haddock.hs +++ b/src/Stackage/Database/Haddock.hs @@ -10,7 +10,7 @@ import ClassyPrelude.Conduit import Text.Blaze.Html (Html, toHtml) 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. hToHtml :: DocH String String -> Html diff --git a/stack.yaml b/stack.yaml index d861e32..d500548 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,5 +1 @@ -resolver: nightly-2018-06-20 -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 +resolver: lts-13.9 diff --git a/templates/home.hamlet b/templates/home.hamlet index c55342a..5af584d 100644 --- a/templates/home.hamlet +++ b/templates/home.hamlet @@ -19,7 +19,20 @@

- Stackage is a stable source of Haskell packages. We guarantee that packages build consistently and pass tests before generating nightly and Long Term Support (LTS) releases. + Stackage is a stable source of Haskell packages. It guarantees that packages build consistently and pass tests before generating nightly and Long Term Support (LTS) releases. +

+ A Stackage snapshot includes pinned package versions from Hackage (the index of all Haskell packages in all versions). + It is a curated set of packages that work well together, similar to how a Debian release is a curated snapshot of most of the open-source software in the world. +

+ Stack is a tool made specifically to make using Stackage snapshots easy and convenient. + We recommend you to use it. + But you can also use Stackage in other ways: as a source for packages that work well together, or to ensure that Haskell packages you author or care about work well with others. +

+ Stackage is a community project: Haskell users around the world work together to create the stable snapshots. +
+ Stackage itself and all tools surrounding it are open-source. +

+ Stackage's infrastructure, build machines, initial creation and ongoing maintenance, are proudly sponsored by FP Complete.

@@ -41,17 +54,19 @@

Have more questions? We have a # - FAQ section on Github - . + FAQ section on Github# + \.

Related initiatives

- Get started with using Stackage with our tool called Stack at our - - Getting Started + Stack is the recommended way to use Stackage. +

+ + Get started with Stack on - - haskell-lang.org + # + haskell.fpcomplete.com# + \.

Latest LTS per GHC version