mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-06 01:49:28 +00:00
Compare commits
2 commits
c5c9f869d2
...
c8f6f7a4b5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8f6f7a4b5 | ||
|
|
7f0da6311b |
5 changed files with 21 additions and 3 deletions
|
|
@ -1,10 +1,13 @@
|
|||
# Makefile
|
||||
|
||||
HTML := $(wildcard *.html)
|
||||
STATIC_HTML := $(shell grep -xl '<!-- static html //-->' *.html)
|
||||
|
||||
.PHONY: all docs
|
||||
|
||||
all: docs
|
||||
|
||||
docs: static-html.sh $(HTML)
|
||||
./static-html.sh $(HTML)
|
||||
badges.html: badges.md
|
||||
markdown $< > $@
|
||||
|
||||
docs: static-html.sh $(STATIC_HTML) badges.html
|
||||
./static-html.sh $(STATIC_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)
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
<!-- static html //-->
|
||||
<!DOCTYPE html><html lang="en">
|
||||
<head><meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<title>RouterOS Scripts :: Logo Color Changer</title>
|
||||
|
|
@ -16,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
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
<!-- static html //-->
|
||||
<!DOCTYPE html><html lang="en">
|
||||
<head><meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<title>RouterOS Scripts :: Notification Generator</title>
|
||||
|
|
@ -16,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,7 @@ set -e
|
|||
sed -i \
|
||||
-e '/href=/s|\.md|\.html|' \
|
||||
-e '/blockquote/s|/\* display \*/|display: none;|' \
|
||||
-e '/<!-- static html \/\/-->/d' \
|
||||
-e '/<!-- badges here \/\/-->/r badges.html' \
|
||||
-e '/<!-- badges here \/\/-->/d' \
|
||||
"${@}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue