fenrir/docs/create_manpage.sh

14 lines
256 B
Bash
Raw Permalink Normal View History

2024-12-09 12:58:14 -05:00
#!/usr/bin/env bash
2018-07-20 20:04:44 -04:00
# 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