- Clone the repository
- Install asciidoctor & asciidoctor-pdf according with instructions for your OS
- Include file
template.adoc
to your document asinclude::/full/path/to/template.adoc[]
- Fill required attributes (see attributesDescription)
- Change attributes in the template, if needed
- Generate PDF with command like this:
asciidoctor-pdf --theme=report -a pdf-themesdir=/full/path/to/report/resources/themes -a pdf-fontsdir=/full/path/to/report/resources/fonts -r /full/path/to/report/custom/10titlePage.rb -r /full/path/to/report/custom/20appendixCustomCaption.rb -r /full/path/to/report/custom/30customFigureCaption.rb
- Do
git stash
in the repo, if you did some changes to template - Do
git pull
to download new changes - DO
git stash pop
to restore your changes