From f094085c37b5cd42f5298836aea256578257c889 Mon Sep 17 00:00:00 2001 From: Clemens Zwinzscher Date: Mon, 26 Apr 2021 19:55:25 +0200 Subject: [PATCH 1/2] update badges and fix typo --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a2a2e47..241be7e 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,10 @@ "[Swagger UI](http://swagger.io/swagger-ui/) allows anyone — be it your development team or your end consumers — to visualize and interact with the API’s resources without having any of the implementation logic in place." -[![Build Status](https://travis-ci.org/phadej/servant-swagger-ui.svg?branch=master)](https://travis-ci.org/phadej/servant-swagger-ui) -[![Hackage](https://img.shields.io/hackage/v/servant-swagger-ui.svg)](http://hackage.haskell.org/package/servant-swagger-ui) -[![Stackage LTS 5](http://stackage.org/package/servant-swagger-ui/badge/lts-5)](http://stackage.org/lts-5/package/servant-swagger-ui) -[![Stackage Nightly](http://stackage.org/package/servant-swagger-ui/badge/nightly)](http://stackage.org/nightly/package/servant-swagger-ui) +[![Build Status](https://github.com/haskell-servant/servant-swagger-ui/actions/workflows/haskell-ci.yml/badge.svg?branch=master)](https://github.com/haskell-servant/servant-swagger-ui/actions) +[![Hackage](https://img.shields.io/hackage/v/servant-swagger-ui.svg)](https://hackage.haskell.org/package/servant-swagger-ui) +[![Stackage LTS](https://stackage.org/package/servant-swagger-ui/badge/lts)](https://stackage.org/lts/package/servant-swagger-ui) +[![Stackage Nightly](https://stackage.org/package/servant-swagger-ui/badge/nightly)](https://stackage.org/nightly/package/servant-swagger-ui) ## Example @@ -22,5 +22,5 @@ Check [`servant-swagger-ui-example/src/Main.hs`](https://github.com/haskell-serv - Extract `dist` directory of `swagger-ui` into `swagger-dist-<version>`. Remove the `*.map` files. - update `extra-source-files` in the `.cabal` - move `index.html` into `index.html.tmpl`, do the diff, port the changes -- search replace the embbeded directory (in `Servant/Swagger/UI.hs`) +- search replace the embedded directory (in `Servant/Swagger/UI.hs`) - test it works From 9e2fcb90ac1f4298789d950e53332c1235294e60 Mon Sep 17 00:00:00 2001 From: Clemens Zwinzscher Date: Mon, 26 Apr 2021 20:05:30 +0200 Subject: [PATCH 2/2] change github badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 241be7e..5bd25a7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ "[Swagger UI](http://swagger.io/swagger-ui/) allows anyone — be it your development team or your end consumers — to visualize and interact with the API’s resources without having any of the implementation logic in place." -[![Build Status](https://github.com/haskell-servant/servant-swagger-ui/actions/workflows/haskell-ci.yml/badge.svg?branch=master)](https://github.com/haskell-servant/servant-swagger-ui/actions) +[![Build Status](https://img.shields.io/github/workflow/status/haskell-servant/servant-swagger-ui/Haskell-CI/master)](https://github.com/haskell-servant/servant-swagger-ui/actions) [![Hackage](https://img.shields.io/hackage/v/servant-swagger-ui.svg)](https://hackage.haskell.org/package/servant-swagger-ui) [![Stackage LTS](https://stackage.org/package/servant-swagger-ui/badge/lts)](https://stackage.org/lts/package/servant-swagger-ui) [![Stackage Nightly](https://stackage.org/package/servant-swagger-ui/badge/nightly)](https://stackage.org/nightly/package/servant-swagger-ui)