From ad009910bb3e0a67ad23ba7495e2ca9405a3fced Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Fri, 16 Dec 2022 10:13:38 -0300 Subject: [PATCH] [DOCs][Fixed] Test badge - Also added link to changelog for the dev branch --- README.md | 4 ++-- docs/README.in | 2 +- docs/replace_tags.pl | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ded97be6..271c832a 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ ![KiBot Logo](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/kibot_740x400_logo.png) -[![Python application](https://img.shields.io/github/workflow/status/INTI-CMNB/KiBot/Python%20application?style=plastic)](https://github.com/INTI-CMNB/KiBot/actions) +[![Python application](https://img.shields.io/github/actions/workflow/status/INTI-CMNB/KiBot/pythonapp.yml?branch=dev&style=plastic)](https://github.com/INTI-CMNB/KiBot/actions) [![Coverage Status](https://img.shields.io/coveralls/github/INTI-CMNB/KiBot?style=plastic)](https://coveralls.io/github/INTI-CMNB/KiBot?branch=master) [![PyPI version](https://img.shields.io/pypi/v/kibot?style=plastic)](https://pypi.org/project/kibot/) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg?style=plastic)](https://www.paypal.com/donate/?hosted_button_id=K2T86GDTTMRPL) -# **This is the documentation for the current development KiBot, not yet released.** +# **This is the documentation for the current development KiBot, not yet released. To know what changed see the [changelog][CHANGELOG.md]** **Important for CI/CD**: diff --git a/docs/README.in b/docs/README.in index f2f54c66..9f5323d7 100644 --- a/docs/README.in +++ b/docs/README.in @@ -2,7 +2,7 @@ ![KiBot Logo](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/kibot_740x400_logo.png) -[![Python application](https://img.shields.io/github/workflow/status/INTI-CMNB/KiBot/Python%20application?style=plastic)](https://github.com/INTI-CMNB/KiBot/actions) +[![Python application](https://img.shields.io/github/actions/workflow/status/INTI-CMNB/KiBot/pythonapp.yml?branch=@branch@&style=plastic)](https://github.com/INTI-CMNB/KiBot/actions) [![Coverage Status](https://img.shields.io/coveralls/github/INTI-CMNB/KiBot?style=plastic)](https://coveralls.io/github/INTI-CMNB/KiBot?branch=master) [![PyPI version](https://img.shields.io/pypi/v/kibot?style=plastic)](https://pypi.org/project/kibot/) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg?style=plastic)](https://www.paypal.com/donate/?hosted_button_id=K2T86GDTTMRPL) diff --git a/docs/replace_tags.pl b/docs/replace_tags.pl index a9c20193..d72f44c4 100644 --- a/docs/replace_tags.pl +++ b/docs/replace_tags.pl @@ -13,7 +13,7 @@ $branch=`git rev-parse --abbrev-ref HEAD`; chomp($branch); if ($branch ne "master") { - $doc_id="# **This is the documentation for the current development KiBot, not yet released.**\n"; + $doc_id="# **This is the documentation for the current development KiBot, not yet released. To know what changed see the [changelog][CHANGELOG.md]**\n"; } else { @@ -40,6 +40,7 @@ while (<>) $_ =~ s/\@dependencies\@/$dependencies/; $_ =~ s/\@json_dep\@/$json_dep/; $_ =~ s/\@doc_id\@/$doc_id/; + $_ =~ s/\@branch\@/$branch/; print $_; }