aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-03-07 00:16:24 -0500
committerDavid Robillard <d@drobilla.net>2021-03-07 15:19:54 -0500
commit36f1cecc1fdb803bf04d2ab60bd13dd257a9e525 (patch)
tree9d3dbd1dfea2dd9d50a16b7c694b846db27c3703 /.gitlab-ci.yml
parent1c1645ed45f40a2d73101c6237b19b28aad2b598 (diff)
downloadserd-36f1cecc1fdb803bf04d2ab60bd13dd257a9e525.tar.gz
serd-36f1cecc1fdb803bf04d2ab60bd13dd257a9e525.tar.bz2
serd-36f1cecc1fdb803bf04d2ab60bd13dd257a9e525.zip
Rewrite man page in mdoc and use mandoc to generate HTML
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
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: