Table of Contents
This script converts .adoc files into .html or .pdf and writes them to a zip archive. Requires Asciidoctor and Asciidoctor-pdf
Arguments:
-
-dirpath (-d): path to directory containing .adoc files
-
-outname (-o): name of the archive
-
-filetype (-t): file type for converted files. Can be pdf or html
Example:
python3 convert.py -d Y1/S2/hci -o notes -t pdf