mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-06 18:09:28 +00:00
contrib/static-html: add badges
This commit is contained in:
parent
4ab39bab99
commit
48384c1c4c
5 changed files with 16 additions and 1 deletions
|
|
@ -6,5 +6,8 @@ HTML := $(shell grep -xl '<!-- static html //-->' *.html)
|
|||
|
||||
all: docs
|
||||
|
||||
docs: static-html.sh $(HTML)
|
||||
badges.html: badges.md
|
||||
markdown $< > $@
|
||||
|
||||
docs: static-html.sh $(HTML) badges.html
|
||||
./static-html.sh $(HTML)
|
||||
|
|
|
|||
6
contrib/badges.md
Normal file
6
contrib/badges.md
Normal file
|
|
@ -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)
|
||||
|
|
@ -17,6 +17,8 @@
|
|||
|
||||
<h1>Logo Color Changer</h1>
|
||||
|
||||
<!-- badges here //-->
|
||||
|
||||
<p><a href="../README.md">⬅️ Go back to main README</a></p>
|
||||
|
||||
<blockquote style="/* display */"><p>💡️ <strong>Hint</strong>: This site or links
|
||||
|
|
|
|||
|
|
@ -17,6 +17,8 @@
|
|||
|
||||
<h1>Notification Generator</h1>
|
||||
|
||||
<!-- badges here //-->
|
||||
|
||||
<p><a href="../README.md">⬅️ Go back to main README</a></p>
|
||||
|
||||
<blockquote style="/* display */"><p>💡️ <strong>Hint</strong>: This site or links
|
||||
|
|
|
|||
|
|
@ -5,4 +5,6 @@ set -e
|
|||
sed -i \
|
||||
-e '/href=/s|\.md|\.html|' \
|
||||
-e '/blockquote/s|/\* display \*/|display: none;|' \
|
||||
-e '/<!-- badges here \/\/-->/r badges.html' \
|
||||
-e '/<!-- badges here \/\/-->/d' \
|
||||
"${@}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue