Add workspace.yml

Add a workspace.yml file with commands for PDF generating and watching,
generating thumbnail images, and cleaning generated files.
This commit is contained in:
Oliver Davies 2021-01-28 23:10:39 +00:00
parent d409742cfe
commit 398fa3c547
2 changed files with 45 additions and 16 deletions

View file

@ -4,19 +4,3 @@ Talks and Presentations by Oliver Davies
For talk abstracts, event information, and links to video recordings and the generated slides, see my `talks page`_.
.. _talks page: https://www.oliverdavies.uk/talks
Watching for changes and automatically regenerating
===================================================
The easiest way to do this is using nodemon_::
nodemon \
--ext rst,style,txt \
--exec "rst2pdf slides.rst \
--output slides.pdf \
--stylesheets main \
--break-level 1 \
--fit-background-mode scale \
--extension-module preprocess"
.. _nodemon: https://nodemon.io