Skip to content

Commit

Permalink
Still mucking about with moving things between YAML files to manage r…
Browse files Browse the repository at this point in the history
…endering.
  • Loading branch information
jreades committed Aug 29, 2024
1 parent 8015e80 commit 6e98c1f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 28 deletions.
26 changes: 2 additions & 24 deletions _quarto-pracs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ project:
- "practicals/"
- "!practicals/fragments/"
- "!practicals/fragments/*.ipynb"
- "!assessments/"
- "!assessments"
- "!data/"
- "!lectures/"
- "!sessions/"
Expand All @@ -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"
10 changes: 10 additions & 0 deletions _quarto-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 1 addition & 4 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down

0 comments on commit 6e98c1f

Please sign in to comment.