FP Complete


This is a guest blog from Konstantin Zudov, who has been making a number of wonderful enhancements to the Stackage Server website.


Snapshot badges for packages on Stackage

Stackage Server just got a new feature: snapshot badges. Take a look:

Package authors can add the badges to their README.md to tell users in which snapshots the package is present and provide a link to the package page.

Here is an example of how that can be done:

# PackageName

[![packagename on Stackage LTS 2](https://stackage.org/package/packagename/badge/lts-2)](https://stackage.org/lts-2/package/packagename)
[![packagename on Stackage LTS 3](https://stackage.org/package/packagename/badge/lts-3)](https://stackage.org/lts-3/package/packagename)
[![packagename on Stackage Nightly](https://stackage.org/package/packagename/badge/nightly)](https://stackage.org/nightly/package/packagename)

In case of stack it would look like:


Stack

stm on Stackage LTS 2 stm on Stackage LTS 3 stmon Stackage Nightly

Subscribe to our blog via email

Email subscriptions come from our Atom feed and are handled by Blogtrottr. You will only receive notifications of blog posts, and can unsubscribe any time.

Tagged