Convert to Quarto website with multi-format support#2
Conversation
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
d-morrison
left a comment
There was a problem hiding this comment.
also {{< include >}} a version of https://github.com/UCD-SERG/lab-manual/blob/main/appendix-document-metadata.qmd at the end of each website page
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Added The metadata section is configured to only display in DOCX format and includes instructions for enabling automated git metadata retrieval with R/knitr. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>
d-morrison
left a comment
There was a problem hiding this comment.
use https://github.com/r-lib/actions/tree/v2-branch/setup-r-dependencies in the github actions workflows instead of the setup-renv step.
to get revealjs output to work in the website profile, we'll need to add a specific output-file for each format in each chapter, like we did in https://github.com/ucdavis/win/blob/main/chapters/01-introduction.qmd for example. otherwise, the html and revealjs output files have the same names by default
.Rprofile
Outdated
DESCRIPTION
Outdated
| person("Your Name", email = "your.email@example.com", role = c("aut", "cre")) | ||
| Description: A template for creating websites with Quarto. Includes support for | ||
| multiple output formats including HTML, DOCX, RevealJS slides, and PDF handouts. | ||
| License: CC0 |
…setup-r-dependencies Co-authored-by: d-morrison <2474437+d-morrison@users.noreply.github.com>

Converted from book to website template following ucdavis/win pattern. Added simultaneous HTML, DOCX, and RevealJS rendering to website profile.
Configuration
Profile-based architecture:
_quarto.yml- profile selector (default: website)_quarto-website.yml- HTML + DOCX + RevealJS outputs_quarto-revealjs.yml- standalone slides profile_quarto-handout.yml- standalone PDF profileMulti-format website rendering:
Per-file output specifications:
Each
.qmdfile includes YAML front matter to prevent filename conflicts:Single
quarto renderproduces:_site/index.html- website page_site/index.docx- Word document_site/index-slides.html- presentation slides_site/index-handout.pdf- PDF handoutStructure Changes
book→websitedocs/→_site/chapters/subdirectoryDocument Metadata
Added
appendix-document-metadata.qmdincluded at end of all pages via{{< include >}}. Contains git commit metadata, visible only in DOCX format for version tracking.Package Management
R packages (knitr, rmarkdown) managed by CI using
setup-r-dependencies:License
Changed from CC0 to MIT License.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.