-
DescriptionIs there a way to explicitly tell quarto where root content folder is? By root content folder I mean all the content that is to be published. I have taken a look at the _quarto.yml and can't see any thing that dictates the root file. I also searched through the QA discussion and couldn't find anything. Is it possible? My problemMy root content is held in a folder called |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
At first I thought you were looking for But it's unclear what you want to have. For a more precise answer, you might want to consider sharing a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository. You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````qmd
---
title: "Reproducible Quarto Document"
format: html
---
This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.
```{r}
plot(cars)
```
The end.
```` |
Beta Was this translation helpful? Give feedback.
-
I have the same question. I'm working on software in a GitHub repository When I render the source files through with this configuration in project:
type: website
render:
- docs-sources/
output-dir: docs/ the rendered files get put into
And if I select What I'm looking for is to have the rendering ignore the
I think 'root folder' is a reasonable description for this. E.g. project:
type: website
render-root: docs-sources/
output-dir: docs/ Previously I tried to put the Quarto project root (and therefore |
Beta Was this translation helpful? Give feedback.
At first I thought you were looking for
working-dir
, see https://quarto.org/docs/projects/code-execution.html#working-dir.But it's unclear what you want to have.
Quarto will keep your source code directory tree structure, because it has no reason to flatten this.
You can use aliases or as you seem to do
_redirects
Netlify configuration file to make it look like the files are served from your website root, see https://quarto.org/docs/websites/website-navigation.html#redirects.For a more precise answer, you might want to consider sharing a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository.
You can share a Quarto docum…