Creating a PDF
You can manually create a PDF from the AsciiDoc source code. You might need to manually create a PDF if the feature is disabled on Pantheon, or to create a preview when you are offline.
Prerequisites
- You need
asciidoctor
Creating a PDF for a guide
To manually create a PDF from AsciiDoc code, complete the following steps:
-
In the command line, navigate to the main folder of the guide that you want to create PDF for. Use the
cdcommand.Note: The
main.adocfile in the folder determines how the PDF is built. -
Build the PDF by running the following command:
asciidoctor-pdf -v main.adoc
After the build process completes, you can find the PDF in the guide folder where the main.adoc file is.