Skip to content
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

Add documentation for quarto_args of quarto_render() #173

Closed
wants to merge 1 commit into from
Closed

Add documentation for quarto_args of quarto_render() #173

wants to merge 1 commit into from

Conversation

olivroy
Copy link
Contributor

@olivroy olivroy commented Apr 18, 2024

I had the same issue as the one mentioned in #81, but discovered late that I could do this.

I tried to find a place on the https://quarto.org website where they are all listed and documented, but I couldn't.

So I added a reference to the terminal, where we can find the options with

quarto render --help

Needs devtools::document()

Adds an example that makes it more obvious that you can render to an output-dir with quarto_render()

@olivroy
Copy link
Contributor Author

olivroy commented Apr 18, 2024

Oops. Actually, this doesn't really work as I expect it. using this option deletes everything in the directory.

Would it be possible for Quarto to error if --output-dir is supplied on a document (as opposed to a project)

Or another solution would be that setting -output-dir does not delete the directory if rendering a file (as opposed to a project)

Maybe being able to supply output-file as a dir/file-name.ext would be great, but it currently doesn't work either.

@cderv cderv closed this in d71b135 Apr 26, 2024
@cderv
Copy link
Collaborator

cderv commented Apr 26, 2024

I added the information to the help page.

For the rest, it is something to report in quarto-cli repo, but I believe we already have discussion about that.

Thanks !

@olivroy olivroy deleted the patch-1 branch April 29, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants