diff --git a/contrib/Makefile b/contrib/Makefile index 9ed2094..bfd085b 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -6,5 +6,8 @@ STATIC_HTML := $(shell grep -xl '' *.html) all: docs -docs: static-html.sh $(STATIC_HTML) +badges.html: badges.md + markdown $< > $@ + +docs: static-html.sh $(STATIC_HTML) badges.html ./static-html.sh $(STATIC_HTML) diff --git a/contrib/badges.md b/contrib/badges.md new file mode 100644 index 0000000..24bd205 --- /dev/null +++ b/contrib/badges.md @@ -0,0 +1,6 @@ +[](https://github.com/eworm-de/routeros-scripts/stargazers) +[](https://github.com/eworm-de/routeros-scripts/network) +[](https://github.com/eworm-de/routeros-scripts/watchers) +[](https://mikrotik.com/download/changelogs/) +[](https://t.me/routeros_scripts) +[](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 4a29781..c6fa2ab 100644 --- a/contrib/logo-color.html +++ b/contrib/logo-color.html @@ -17,6 +17,8 @@
💡️ Hint: This site or links diff --git a/contrib/notification.html b/contrib/notification.html index e9a1965..6d2958b 100644 --- a/contrib/notification.html +++ b/contrib/notification.html @@ -17,6 +17,8 @@
Notification Generator
+ +💡️ Hint: This site or links diff --git a/contrib/static-html.sh b/contrib/static-html.sh index 82eb277..41e89de 100755 --- a/contrib/static-html.sh +++ b/contrib/static-html.sh @@ -6,4 +6,6 @@ sed -i \ -e '/href=/s|\.md|\.html|' \ -e '/blockquote/s|/\* display \*/|display: none;|' \ -e '//d' \ + -e '//r badges.html' \ + -e '//d' \ "${@}"