-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Description
A workflow based on pokings-around in the 2022 conf and Reykjavic archiving PRs:
- Make a subdirectory in
archive/calledYYYY-MM-workshop-name. - Copy the contents of
slides/intoarchive/YYYY-MM-workshop-name. - Copy the contents of
classwork/intoarchive/YYYY-MM-workshop-name. - Copy
index.qmdintoarchive/YYYY-MM-workshop-name. - In
_quarto.yml:- add an entry
"archive/YYYY-MM-workshop-name/*qmd"underrender. - add an entry
"archive/2023-07-nyr/classwork/*qmd"underresources.
- add an entry
- In
archive/YYYY-MM-workshop-name/, add a_metadata.ymlfile with the contents
execute:
freeze: true
- In the command line, run
quarto render archive/YYYY-MM-workshop-name. This will regenerate the workshop slides underdocs/archive/YYYY-MM-workshop-name. - Check that:
- Running
quarto renderdidn't change any files indocs/outside ofdocs/archive. - The generated slides are added to
_freeze/archive/YYYY-MM-workshop-namerather than inarchive/YYYY-MM-workshop-name. - The generated slides work (specifically, that filepaths to figures function correctly.)
- Running
- In
index.qmd, add an entry in H2 "Past workshops" like[M YYYY](archive/YYYY-MM-workshop-name/) in workshop-name
Not sure if this ought to live somewhere in the repo.
EDIT: added instructions to copy index.qmd.
Metadata
Metadata
Assignees
Labels
No labels