Skip to content
Permalink
2020-10-01
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
layout title questions objectives time_estimation key_points contributors
tutorial_hands_on
Generating PDF artefacts of the website
How to generate PDF of the different tutorials and slides?
Generating PDFs
10m
PDFs can be easily generated for the different tutorials to share with learnees or to keep a fixed version of a tutorial
bebatut

Introduction

{:.no_toc}

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. TOC {:toc}

{: .agenda}

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

{% icon hands_on %} Hands-on: Checking the website generation locally

  1. Install Chrome
  2. Generate the PDFs: make pdf
  3. Check the generated PDFs in _pdf folder {: .hands_on}

Conclusion

{:.no_toc}