quarto-dev / quarto-dev/quarto-cli
Cannot create listing from sibling directory
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
I have:
- searched the issue tracker for similar issues
- installed the latest version of Quarto CLI
- formatted my issue following the Bug Reports guide
Bug description
When creating a listing in a subdirectory, standard notation for including a sibling directory does not appear to work.
Steps to reproduce
Minimal example in this repository.
/faculty/landing.qmd is supposed to include a listing of files in both /faculty and /shared directories
Actual behavior
Only the files in /faculty are shown in the rendered listing; despite several attempts to indicate the /shared directory as another source of files, system
Expected behavior
Files in /shared should also be included in the listing in /faculty/landing.qmd, e.g. by including
listing:
contents:
- .
- ../shared
in the landing page's metadata.
Your environment
- IDE: VSCode 1.122.1
- OS: MacOS 26.5.1
Quarto check output
Quarto 1.9.38
[✓] Checking environment information...
Quarto cache location: /Users/cgirard/Library/Caches/quarto
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.8.3: OK
Dart Sass version 1.87.0: OK
Deno version 2.4.5: OK
Typst version 0.14.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.9.38
Path: /Applications/quarto/bin
[✓] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
Chrome Headless Shell: (not installed)
VeraPDF: (not installed)
[✓] Checking LaTeX....................OK
Using: Installation From Path
Path: /Library/TeX/texbin
Version: 2023
[✓] Checking Chrome Headless....................OK
Using: Chrome found on system
Path: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
Source: MacOS known location
[✓] Checking basic markdown render....OK
[✓] Checking R installation...........(None)
Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/
[✓] Checking Python 3 installation....OK
Version: 3.12.3 (Conda)
Path: /Users/cgirard/mambaforge/bin/python
Jupyter: 5.7.2
Kernels: python3
[✓] Checking Jupyter engine render....OK
[✓] Checking Julia installation...
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.
Research direction
Start with the minimal sibling example repository and inspect /faculty/landing.qmd, especially its listing metadata. Render the document with Quarto and trace how the contents entries . and ../shared are resolved; the issue is done when the rendered listing includes files from both /faculty and /shared.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100