Unable to reproduce YAML Listing Content example when rendering from parent folder of a project

Open
#9,086 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
cli

Research direction

Reproduce the issue with the testing_YAML_listing repository using quarto preview testing_YAML_listing/, then compare it with running quarto preview from inside that folder. Inspect the YAML listing rendering path and the generated custom.html output; done means both invocation locations include all listing files, not only posts/.

Written by the indexing model from the issue text.

Description

bug listings preview

Initially discussed in https://github.com/quarto-dev/quarto-cli/discussions/9071

Repo to reproduce is here: https://github.com/dspm/testing_YAML_listing

Doing quarto preview testing_YAML_listing/ does not work - the custom.html won't have all the listing files - only posts/

image

But doing cd testing_YAML_listing then quarto preview will work - custom.html will have all the files

image

This behavior may be a bug.

Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

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.

More from quarto-dev/quarto-cli

All issues in quarto-dev/quarto-cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.