public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH] hooks/pre-push: Use mandoc(1) to get HTML anchors to command-line options
@ 2026-01-17 14:56 Stefano Brivio
  0 siblings, 0 replies; only message in thread
From: Stefano Brivio @ 2026-01-17 14:56 UTC (permalink / raw)
  To: passt-dev; +Cc: Erik Sjölund

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-01-17 14:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-17 14:56 [PATCH] hooks/pre-push: Use mandoc(1) to get HTML anchors to command-line options Stefano Brivio

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).