quarto-dev / quarto-dev/quarto-cli

Quarto fails to render symlinked content

Open
#4,167 4 comments 0 reactions 1 assignee View on GitHub

@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:

  1. Create a new quarto website project
  2. Symlink to a directory my-simlinked-dir of .qmd and .md files
  3. Symlink directly to a few .qmd and .md files
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.