quarto-dev / quarto-dev/quarto-cli
Quarto fails to render symlinked content
Open
@cscheid is already working on this.
Since Jan 31, 2023.
bug
file-systems
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Bug description
Quarto 1.2.313 fails to render symlinked objects with website projects (Linux EndeavourOS).
Steps to reproduce:
- Create a new quarto website project
- Symlink to a directory
my-simlinked-dirof.qmdand.mdfiles - Symlink directly to a few
.qmdand.mdfiles - Render
index.qmd
The directory now looks like
_site
.quarto
my-symlinked-dir
file.md
file.qmd
about.qmd
index.qmd
styles.css
_quarto.yml
file.md and file.md are direct symlinks to the contents of my-simlinked-dir
When you render index.qmd with
sidebar:
style: docked
contents:
- "file.qmd"
- "file.md"
- "my-simlinked-dir/file.qmd"
- "my-simlinked-dir/file.md"
no HTML files are generated from these files. Also quarto doesn't show any links on the side bar, presumably because it is unable to resolve these paths.
Checklist
- Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- Please format your issue so it is easier for us to read the bug report.
- Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- Please document the operating system you're running. If on Linux, please provide the specific distribution.
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.