Replies: 2 comments
-
I am also interested in this functionality. Is there a way to do this with "pre-render" scripting? |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you want to render your presentation first, then render your website, Quarto can't use multiple environment and switch between those because it's a single process. Now you could write a bash script which takes care of rendering your presentations, i.e, going to directory, activating virtual env, rendering, etc., see https://quarto.org/docs/projects/scripts.html#pre-and-post-render. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I wanted to create a website with a list of all my quarto presentations. So I created a quarto website and moved all my presentations into subfolders. I include the presentations as iframes into a table in my main website index.qmd.
However when rendering the whole website I realized that my presentations use separate virtual Python environments (I use
pipenv
, see the Pipfiles above). So to render my website successfully I have to navigate to each presentation subdirectory, activate the venv for that directory and then render with quarto only the content of the subdirectory. In the end I activate the global environment and render the whole website.Is there are more convenient way to do that? Is it maybe possible to specify a venv for each qmd file separately? Because I do not want to move all dependencies into my global environment. The dependencies might be conflicting.
Beta Was this translation helpful? Give feedback.
All reactions