Generating PDF artefacts of the website
Author(s) | Bérénice Batut |
Reviewers |
OverviewQuestions:Objectives:
How to generate PDF of the different tutorials and slides?
Generating PDFs
Time estimation: 10 minutesSupporting Materials:Published: Jun 4, 2018Last modification: Nov 9, 2023License: Tutorial Content is licensed under Creative Commons Attribution 4.0 International License. The GTN Framework is licensed under MITpurl PURL: https://gxy.io/GTN:T00063version Revision: 12
The website with the training material can be run locally. Sometimes, it is also interesting to freeze the tutorials or to get PDFs of the tutorials.
AgendaIn this tutorial, you will learn how to run a local instance of the GTN website:
Generate PDFs artifact
To generate the PDFs, a command make pdf
is given. This command:
- Launches a detached Jekyll server to serve the website
- Generates the PDFs of the tutorials by calling Chrome via command line
- Generates the PDFs of the slide decks by calling decktape
Hands-on: Checking the website generation locally
- Install a browser
- Generate the PDFs:
make pdf
- Check the generated PDFs in
_pdf
folder