Create a new quarto file in the root directory or subdirectory. Put the quarto-file in website directory (or subdirectory). Make sure that you do not have self-contained: true in the qmd file, otherwise file gets to large. An example is website/lecture_notes/MCMC/MCMC.qmd
---title:"Lecture Notes on MCMC"author:"Oliver Dürr"format: html: toc: true toc-title:"Table of Contents" toc-depth:3 fig-width:6 fig-height:3 code-fold: true code-tools: true mathjax: true# self-contained: true <------ NEEDS TO BE COMMENTED OUT (or not there at all)# pdf:# toc: true# toc-title: "Table of Contents"filters:- webr---
How to render the website
Render and move to docs folder
quarto render
Check in the changes in the docs folder
Development (in da/website)
quarto preview lecture_notes/MCMC/MCMC.qmd #For a single file
quarto preview #For the complete website
Source Code
---title: "About"---### Internal Notes for authoring the website#### How to add a new page- Create a new quarto file in the root directory or subdirectory.Put the quarto-file in website directory (or subdirectory). Make sure that you do not have `self-contained: true` in the **qmd** file, otherwise file gets to large. An example is `website/lecture_notes/MCMC/MCMC.qmd````{r, eval=FALSE}---title: "Lecture Notes on MCMC"author: "Oliver Dürr"format: html: toc: true toc-title: "Table of Contents" toc-depth: 3 fig-width: 6 fig-height: 3 code-fold: true code-tools: true mathjax: true # self-contained: true <------ NEEDS TO BE COMMENTED OUT (or not there at all) # pdf: # toc: true # toc-title: "Table of Contents"filters: - webr---```#### How to render the website- Render and move to docs folder```bashquarto render ```- Check in the changes in the docs folder#### Development (in da/website)```bashquarto preview lecture_notes/MCMC/MCMC.qmd #For a single file``````bashquarto preview #For the complete website```