commit 9993efc71668130b425cf720425754984b74c765
parent 8c1bde15efb448042a2ae8b012e1df8f86e58e31
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 8 Nov 2024 09:25:55 +0100
htrdr: correct formatting of the htrdr-planets command
The '-' character was considered as an hyphen when generating the
manual page in html format. As a result, the command synopsis was
incorrectly formatted.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/convert_mdoc.sh b/convert_mdoc.sh
@@ -41,7 +41,7 @@ root="../../../"
-e 's/"Nm">htrdr-combustion/"Nm">htrdr\‑combustion/g' \
-e 's/"Nm">htrdr-image/"Nm">htrdr\‑image/g' \
-e 's/"Nm">htrdr-materials/"Nm">htrdr\‑materials/g' \
- -e 's/"Nm">htrdr-planeto/"Nm">htrdr\‑planeto/g' \
+ -e 's/"Nm">htrdr-planets/"Nm">htrdr\‑planets/g' \
-e "s#href=\"../man1/htpp.1.html\"#href=\"${root}htrdr/man/man1/htpp.1.html\"#g" \
-e "s#href=\"../man5/htrdr-image.5.html\"#href=\"${root}htrdr/man/man5/htrdr-image.5.html\"#g" \
-e 's/<a class="Xr"[^>]\{0,\}>csplit(1)<\/a>/<a class "Xr">csplit(1)<\/a>/g' \