contrib/html: add a footer

This commit is contained in:
Christian Hesse 2025-11-12 17:22:30 +01:00
parent 8af3c2db16
commit b608f12edc
4 changed files with 17 additions and 2 deletions

View file

@ -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"

View file

@ -0,0 +1,4 @@
<p class="foot">RouterOS Scripts documentation generated on <i>__DATE__</i> for <i>__VERSION__</i></p>
</body></html>