National-COVID-Cohort-Collaborative / guide-to-n3c-v1

Research with the National COVID Cohort Collaborative (N3C: https://ncats.nih.gov/n3c)
https://national-covid-cohort-collaborative.github.io/guide-to-n3c-v1/
Other
11 stars 4 forks source link

Quarto chapter headers fix, no auto-format markdown on save in RStudio #205

Closed oneilsh closed 4 months ago

oneilsh commented 4 months ago

I believe this fixes #202 ; I'm not sure why the _quaro.yml file cannot have the assets/ prefix for the location of the title-block.html for the build, but it appears that is the issue (note that the title-block.html does need to be in assets/ though).

I think @chrisroederucdenver made that modification to make a non-RStudio build process work, so this is likely to be specific to how we build in Rstudio (and how github actions builds for the page).

This PR also changes a setting in the .Rproj to cause RStudio to not auto-format markdown files on save, which was causing me all kinds of headaches as well and I think was the reason Chris was trying an alternative build process.

wibeasley commented 4 months ago

I'm not sure why it failed with or without the asset/ in the path, but I don't even think we need the title-block file. It looks like I was experimenting and just left it in.

See #63 for the motivation.

See https://github.com/National-COVID-Cohort-Collaborative/guide-to-n3c-v1/commit/b34343b56bff6874cfb896a5f782ef41c50db404 for the commit