From 36f1cecc1fdb803bf04d2ab60bd13dd257a9e525 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 7 Mar 2021 00:16:24 -0500 Subject: Rewrite man page in mdoc and use mandoc to generate HTML --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f73a5a83..c9e3db17 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -84,8 +84,10 @@ test:x64_dbg: image: lv2plugin/debian-x64 script: - python ./waf test + - mkdir -p build/doc/ - cp doc/*.svg build/doc/ - - groff -Thtml -P -l -P -r -man -wall doc/serdi.1 > build/doc/serdi.html + - cp doc/mandoc.css build/doc/ + - mandoc -Thtml -Werror -O style=mandoc.css doc/serdi.1 > build/doc/serdi.html needs: ["x64_dbg"] artifacts: paths: @@ -222,6 +224,7 @@ pages: - mv build/doc/c/singlehtml .public/c/singlehtml - mv build/doc/c/html .public/c/html - mv build/doc/serdi.html .public/man/serdi.html + - mv build/doc/mandoc.css .public/man/mandoc.css - mv .public public artifacts: paths: -- cgit v1.2.1