mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2025-12-08 10:59:29 +00:00
contrib/html: add a footer
This commit is contained in:
parent
8af3c2db16
commit
b608f12edc
4 changed files with 17 additions and 2 deletions
|
|
@ -18,4 +18,7 @@ markdown -f toc,idanchor "${1}" | sed \
|
|||
-e '/<h[1234] /s|-2[7cd]-||g' -e '/<h[1234] /s|--26-amp-3b-||g' \
|
||||
-e '/The above link may be broken on code hosting sites/s|blockquote|blockquote style="display: none;"|'
|
||||
|
||||
printf '</body></html>'
|
||||
sed \
|
||||
-e "s|__DATE__|${DATE:-$(date --rfc-email)}|" \
|
||||
-e "s|__VERSION__|${VERSION:-unknown}|" \
|
||||
< "${0}.d/foot.html"
|
||||
|
|
|
|||
4
contrib/html.sh.d/foot.html
Normal file
4
contrib/html.sh.d/foot.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
<p class="foot">RouterOS Scripts documentation generated on <i>__DATE__</i> for <i>__VERSION__</i></p>
|
||||
|
||||
</body></html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue