From 6e98c1f235a9a81570b371df45c5cbf50349da6a Mon Sep 17 00:00:00 2001 From: Jon Reades Date: Thu, 29 Aug 2024 10:52:15 +0100 Subject: [PATCH] Still mucking about with moving things between YAML files to manage rendering. --- _quarto-pracs.yml | 26 ++------------------------ _quarto-web.yml | 10 ++++++++++ _quarto.yml | 5 +---- 3 files changed, 13 insertions(+), 28 deletions(-) diff --git a/_quarto-pracs.yml b/_quarto-pracs.yml index 7fe702f..74e19db 100644 --- a/_quarto-pracs.yml +++ b/_quarto-pracs.yml @@ -10,7 +10,7 @@ project: - "practicals/" - "!practicals/fragments/" - "!practicals/fragments/*.ipynb" - - "!assessments/" + - "!assessments" - "!data/" - "!lectures/" - "!sessions/" @@ -22,31 +22,9 @@ project: resources: - "img/" - "practicals/img/" - - "!assessments/" + - "!assessments" - "!data/" - "!lectures/" - "!sessions/" - "!setup/" - "!ref/" -format: - ipynb: - number-sections: true - shift-heading-level-by: 1 - #freeze: true - #cache: true # Not compatible with inline expressions - pdf: - papersize: a4 - geometry: - - top=25mm - - left=40mm - - right=25mm - - bottom=25mm - - heightrounded - number-sections: true - toc: true - toc-depth: 1 - colorlinks: true - highlight-style: github - mainfont: "Spectral" - sansfont: "Roboto Flex" - monofont: "Roboto Flex" diff --git a/_quarto-web.yml b/_quarto-web.yml index e0125c4..c1cb0fd 100644 --- a/_quarto-web.yml +++ b/_quarto-web.yml @@ -3,6 +3,16 @@ project: - scripts/web.py post-render: - scripts/web.py +output-dir: _site +render: + - "*.qmd" + - "!bib/" + - "!data/" + - "!practicals/" + resources: + - "bib/" + - "img/" + - "data/" format: html: theme: diff --git a/_quarto.yml b/_quarto.yml index 70e467a..a953a7a 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -5,14 +5,11 @@ project: post-render: - scripts/post.py type: website - output-dir: _site + output-dir: _all preview: port: 4200 render: - "*.qmd" - - "!bib/" - - "!data/" - - "!practicals/" resources: - "bib/" - "img/"