mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-10 10:07:29 +01:00
Merge branch 'master' into production-deployment
This commit is contained in:
commit
52a638def3
@ -57,7 +57,8 @@ build:
|
|||||||
deploy_prod:
|
deploy_prod:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
only:
|
only:
|
||||||
- production-deployment
|
- master
|
||||||
|
when: manual
|
||||||
environment:
|
environment:
|
||||||
name: production
|
name: production
|
||||||
url: https://www.stackage.org/
|
url: https://www.stackage.org/
|
||||||
|
|||||||
@ -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
|
|
||||||
|
|||||||
@ -19,7 +19,20 @@
|
|||||||
<div .row>
|
<div .row>
|
||||||
<div .span12>
|
<div .span12>
|
||||||
<p>
|
<p>
|
||||||
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.
|
||||||
|
<p>
|
||||||
|
A Stackage snapshot includes pinned package versions from <a href="https://hackage.haskell.org">Hackage</a> (the index of all Haskell packages in all versions).
|
||||||
|
It is a curated set of packages that work well together, similar to how a <a href="https://www.debian.org">Debian</a> release is a curated snapshot of most of the open-source software in the world.
|
||||||
|
<p>
|
||||||
|
<a href="https://haskellstack.org">Stack</a> 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.
|
||||||
|
<p>
|
||||||
|
Stackage is a community project: Haskell users around the world work together to create the stable snapshots.
|
||||||
|
<br />
|
||||||
|
Stackage itself and all tools surrounding it are open-source.
|
||||||
|
<p>
|
||||||
|
Stackage's infrastructure, build machines, initial creation and ongoing maintenance, are proudly sponsored by <a href="https://www.fpcomplete.com">FP Complete</a>.
|
||||||
|
|
||||||
<div .row>
|
<div .row>
|
||||||
<div .span6>
|
<div .span6>
|
||||||
@ -41,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