From 0307f1a8c66d76bd46e0ca32e53d2f14a12ec103 Mon Sep 17 00:00:00 2001 From: johnthagen Date: Mon, 29 May 2023 08:42:59 -0400 Subject: [PATCH 1/3] Create and official Poetry badge --- README.md | 6 +++++- static/badge/v0.json | 9 +++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 static/badge/v0.json diff --git a/README.md b/README.md index 984ae31..946a248 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,13 @@ # Poetry Website -This is the source of the official [Poetry website](https://python-poetry.org). +[![Poetry](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/python-poetry/website/main/static/badge/v0.json)][Official Website] + +This is the source of the official [Poetry website][Official Website]. It's built using the static site generator [Hugo](https://gohugo.io) and the Markdown docs from the [Poetry repo](https://github.com/python-poetry/poetry/tree/master/docs). +[Official Website]: https://python-poetry.org + ## Requirements - [Poetry](https://python-poetry.org/docs/master/#installing-with-the-official-installer) diff --git a/static/badge/v0.json b/static/badge/v0.json new file mode 100644 index 0000000..80f3d1b --- /dev/null +++ b/static/badge/v0.json @@ -0,0 +1,9 @@ +{ + "schemaVersion": 1, + "label": "", + "message": "Poetry", + "logoSvg": "logo-origami", + "logoWidth": 10, + "labelColor": "grey", + "color": "#008BE1" +} From 63c9f5965548a897dc79bca332a121b107b9d53e Mon Sep 17 00:00:00 2001 From: johnthagen Date: Mon, 29 May 2023 08:49:40 -0400 Subject: [PATCH 2/3] Run prettier on README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 946a248..36759c9 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # Poetry Website -[![Poetry](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/python-poetry/website/main/static/badge/v0.json)][Official Website] +[![Poetry](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/python-poetry/website/main/static/badge/v0.json)][official website] -This is the source of the official [Poetry website][Official Website]. +This is the source of the official [Poetry website][official website]. It's built using the static site generator [Hugo](https://gohugo.io) and the Markdown docs from the [Poetry repo](https://github.com/python-poetry/poetry/tree/master/docs). -[Official Website]: https://python-poetry.org +[official website]: https://python-poetry.org ## Requirements From 4e9bac35c5516958a7ef054bdb0d1c433a6f9750 Mon Sep 17 00:00:00 2001 From: johnthagen Date: Thu, 15 Jun 2023 08:56:08 -0400 Subject: [PATCH 3/3] Point to official website hosted badge JSON --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 36759c9..7d665e5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Poetry Website -[![Poetry](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/python-poetry/website/main/static/badge/v0.json)][official website] +[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)][official website] This is the source of the official [Poetry website][official website].