-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assist with Quarto vignettes and articles #2085
Conversation
@hadley @cderv But I need to release usethis in the next week, so I'd like to invite feedback based on what you see here now. You should be able to get the general idea. @hadley I know we talked about the interface a while back. I hope I've done what we discussed, i.e. inferring Rmd vs. qmd from the @cderv I'm especially interested in you looking at whether I've got the DESCRIPTION, gitignores, and Rbuildignores rigged the way they should be. Thanks in advance! |
Approach taken from r-lib/cli#681 (comment)
Suffering from this beyond-my-control problem on macOS GHA:
|
|
||
use_git_ignore(c("*.html", "*.R"), directory = target_dir) | ||
if (ext == "qmd") { | ||
use_git_ignore("**/.quarto/") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will gitignore .quarto
at the top-level (relevant to README.qmd
, although usethis isn't helping to place such a file just yet), vignettes/.quarto
(normal vignettes), and vignettes/articles/.quarto
(articles). It's probably redundant with something Quarto itself is doing, but I think this is better than what Quarto does and redundancy is not a big deal in this context.
Sorry to late to the party. 😞
yes this looks good. Quarto itself should add If you have any feedback on the vignette workflow, I am going to work on quarto R package again in coming weeks now that Quarto 1.6 is out. I'll be happy to improve what needs to be. |
Closes #1997