r-lib / pkgdown

Generate static html documentation for an R package
https://pkgdown.r-lib.org/
Other
714 stars 334 forks source link

quarto articles #2675

Closed olivroy closed 3 months ago

olivroy commented 3 months ago

quarto vignettes vs articles

Include something about how to set-up a quarto article?

seems like just having

---
format: html
---

does the trick

Quarto 1.5

Addressed in #2676

I don`t know if pkgdown has a template, but should it include?

quarto-required: ">= 1.5.45"
Running `pkgdown::build_article("article.qmd")` interactively yields a quarto error message.

ERROR: Syntax of file name, directory ou de volume is incorrect. (os error 123): stat 'C:\Users\username\Documents\rrr-forks\gt\vignettes\C:\Users\username\AppData\Local\Temp\Rtmp04P92e\pkgdown-quarto-5da04b5f76d4'

I still have quarto 1.4 installed, so this might be the issue but this is a bit cryptic? I will test soon if I get the same thing with Quarto 1.5

This is an issue that tracks my trial and error, so will edit till I succeed

hadley commented 3 months ago

I think that the patch you supplied is sufficient; in the blog post we'll just make sure to advertise that this feature requires the upcoming 1.5 version of quarto.