LearnToDiscover / sandpaper

L2D's fork of {sandpaper}
https://learntodiscover.github.io/sandpaper/
Other
0 stars 1 forks source link

Replace individual lesson PDFs with 1 "All in one" PDF #27

Closed milanmlft closed 1 year ago

milanmlft commented 1 year ago

PDF rendering can be enabled by setting pdf: TRUE in the config.yaml of an existing lesson. For new lessons, sandpaper::create_lesson(..., pdf = TRUE) will set this option for you.

The generated pdf will be located at site/docs/aio.pdf.

Currently still missing: a button/link to the PDF on the lesson website --> LearnToDiscover/varnish#4

Fixes #20 and #2