diff options
author | David Robillard <d@drobilla.net> | 2021-03-07 00:16:24 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-07 15:19:54 -0500 |
commit | 36f1cecc1fdb803bf04d2ab60bd13dd257a9e525 (patch) | |
tree | 9d3dbd1dfea2dd9d50a16b7c694b846db27c3703 /.gitlab-ci.yml | |
parent | 1c1645ed45f40a2d73101c6237b19b28aad2b598 (diff) | |
download | serd-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.yml | 5 |
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: |