From: Stefano Brivio <sbrivio@redhat.com>
To: passt-dev@passt.top
Cc: "Erik Sjölund" <erik.sjolund@gmail.com>
Subject: [PATCH] hooks/pre-push: Use mandoc(1) to get HTML anchors to command-line options
Date: Sat, 17 Jan 2026 15:56:29 +0100 [thread overview]
Message-ID: <20260117145629.842482-1-sbrivio@redhat.com> (raw)
It looks like man2html(1) can only build links to sections, not to
TP elements.
Reported-by: Erik Sjölund <erik.sjolund@gmail.com>
Link: https://bugs.passt.top/show_bug.cgi?id=184
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
---
hooks/pre-push | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hooks/pre-push b/hooks/pre-push
index 8dbfa5f..839b310 100755
--- a/hooks/pre-push
+++ b/hooks/pre-push
@@ -62,7 +62,7 @@ ssh "${USER_HOST}" "rm -f ${BIN}/*.deb"
ssh "${USER_HOST}" "rm -f ${BIN}/*.rpm"
scp *.deb *.rpm "${USER_HOST}:${BIN}/"
-man2html -M "/" passt.1 > passt.1.html
+mandoc -Thtml passt.1 > passt.1.html
scp passt.1.html "${USER_HOST}:${WEB}/"
for pic in passt_overview pasta_overview; do
--
2.43.0
reply other threads:[~2026-01-17 14:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260117145629.842482-1-sbrivio@redhat.com \
--to=sbrivio@redhat.com \
--cc=erik.sjolund@gmail.com \
--cc=passt-dev@passt.top \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://passt.top/passt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).