From 2b8fa3972478bb22c9facaae6680f6e9a9382ab3 Mon Sep 17 00:00:00 2001 From: chrys Date: Wed, 23 Aug 2017 21:42:03 +0200 Subject: [PATCH] script to convert to manpage --- docu/create_manpage.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 docu/create_manpage.sh diff --git a/docu/create_manpage.sh b/docu/create_manpage.sh new file mode 100755 index 00000000..30bb538f --- /dev/null +++ b/docu/create_manpage.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# needs pandoc and php installed + +# remove old files +rm fenrir.1 +rm user.md + +# convert to markdown +php DokuWiki-to-Markdown-Converter/convert.php user.txt + +# convert markdown to manpage +pandoc user.md -f markdown -t man -s -o fenrir.1 +