Generating PDF artefacts of the website


question Questions
  • How to generate PDF of the different tutorials and slides?
objectives Objectives
  • Generating PDFs

time Time estimation: 10 minutes

Supporting Materials


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.


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 Hands-on: Checking the website generation locally

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


keypoints Key points

  • PDFs can be easily generated for the different tutorials to share with learnees or to keep a fixed version of a tutorial

congratulations Congratulations on successfully completing this tutorial!

Developing GTN training material

This tutorial is part of a series to develop GTN training material, feel free to also look at:
  1. Overview of the Galaxy Training Material
  2. Contributing with GitHub via command-line
  3. Contributing with GitHub via its interface
  4. Creating a new tutorial
  5. Creating a new tutorial - Creating Interactive Galaxy Tours
  6. Creating a new tutorial - Defining the technical infrastructure
  7. Creating a new tutorial - Slides
  8. Creating a new tutorial - Writing content in Markdown
  9. Generating PDF artefacts of the website
  10. Including a new topic
  11. Running the Galaxy Training material website locally