quarto-dev / quarto-dev/quarto-cli
Rendering a document in subfolder with `-o` flag leads to libs not found
Open
@cscheid is already working on this.
Since Feb 20, 2024.
bug
files
projects
websites
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
I recently also ran into this problem and tried to create a minimal project to reproduce the error: project.zip
When rendering the document using quarto render report/report.qmd -o alternate_name.html I observed the following:
- If
self-contained: falsethe libs are not recognized by the final document - If
self-contained: truethe above could not fetch resource warning comes up - It only happens if the
qmdfile is in a subdirectory of the project, top-level documents seem fine
$ quarto --version
1.3.353
Originally posted by @p-gw in https://github.com/quarto-dev/quarto-cli/discussions/4041#discussioncomment-6049811
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.