Docker Markdown PDF Generator - Pandoc Requisites Docker Create a resources folder with a cover.pdf file in it. Add your documentation in a directory with a _sidebar.md file. Run ./convert.sh -o <output_file>.pdf <doc_dir> to generate a PDF file.