diff --git a/contrib/Makefile b/contrib/Makefile index bfd085b..f704378 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -1,13 +1,10 @@ # Makefile -STATIC_HTML := $(shell grep -xl '' *.html) +HTML := $(wildcard *.html) .PHONY: all docs all: docs -badges.html: badges.md - markdown $< > $@ - -docs: static-html.sh $(STATIC_HTML) badges.html - ./static-html.sh $(STATIC_HTML) +docs: static-html.sh $(HTML) + ./static-html.sh $(HTML) diff --git a/contrib/badges.md b/contrib/badges.md deleted file mode 100644 index 24bd205..0000000 --- a/contrib/badges.md +++ /dev/null @@ -1,6 +0,0 @@ -[![GitHub stars](https://img.shields.io/github/stars/eworm-de/routeros-scripts?logo=GitHub&style=flat&color=red)](https://github.com/eworm-de/routeros-scripts/stargazers) -[![GitHub forks](https://img.shields.io/github/forks/eworm-de/routeros-scripts?logo=GitHub&style=flat&color=green)](https://github.com/eworm-de/routeros-scripts/network) -[![GitHub watchers](https://img.shields.io/github/watchers/eworm-de/routeros-scripts?logo=GitHub&style=flat&color=blue)](https://github.com/eworm-de/routeros-scripts/watchers) -[![required RouterOS version](https://img.shields.io/badge/RouterOS-7.15-yellow?style=flat)](https://mikrotik.com/download/changelogs/) -[![Telegram group @routeros_scripts](https://img.shields.io/badge/Telegram-%40routeros__scripts-%2326A5E4?logo=telegram&style=flat)](https://t.me/routeros_scripts) -[![donate with PayPal](https://img.shields.io/badge/Like_it%3F-Donate!-orange?logo=githubsponsors&logoColor=orange&style=flat)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=A4ZXBD6YS2W8J) diff --git a/contrib/logo-color.html b/contrib/logo-color.html index c6fa2ab..a45ea93 100644 --- a/contrib/logo-color.html +++ b/contrib/logo-color.html @@ -1,4 +1,3 @@ - RouterOS Scripts :: Logo Color Changer @@ -17,8 +16,6 @@

Logo Color Changer

- -

⬅️ Go back to main README

💡️ Hint: This site or links diff --git a/contrib/notification.html b/contrib/notification.html index 6d2958b..a618f22 100644 --- a/contrib/notification.html +++ b/contrib/notification.html @@ -1,4 +1,3 @@ - RouterOS Scripts :: Notification Generator @@ -17,8 +16,6 @@

Notification Generator

- -

⬅️ Go back to main README

💡️ Hint: This site or links diff --git a/contrib/static-html.sh b/contrib/static-html.sh index 41e89de..2c6f595 100755 --- a/contrib/static-html.sh +++ b/contrib/static-html.sh @@ -5,7 +5,4 @@ set -e sed -i \ -e '/href=/s|\.md|\.html|' \ -e '/blockquote/s|/\* display \*/|display: none;|' \ - -e '//d' \ - -e '//r badges.html' \ - -e '//d' \ "${@}"