Generating PDF artefacts of the website

Overview
Creative Commons License: CC-BY Questions:
  • How to generate PDF of the different tutorials and slides?

Objectives:
  • Generating PDFs

Time estimation: 10 minutes
Supporting Materials:
Published: Jun 4, 2018
Last modification: Nov 3, 2023
License: Tutorial Content is licensed under Creative Commons Attribution 4.0 International License. The GTN Framework is licensed under MIT
purl PURL: https://gxy.io/GTN:T00063
version Revision: 20

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.

Agenda

In this tutorial, you will learn how to run a local instance of the GTN website:

  1. Generate PDFs artifact

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
  1. Install a browser
  2. Generate the PDFs: make pdf
  3. Check the generated PDFs in _pdf folder