`output-dir` YAML option is not respected when source file is not in the `render` list
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript
- Lĩnh vực
- build-system, cli
Hướng nghiên cứu
Start with the Quarto CLI render path that handles a source file not included in the project's render list, using the provided quarto.yml, correct.qmd, and wrong.qmd reproduction. Run both quarto render commands and trace how project.output-dir is applied. Done means rendering wrong.qmd places wrong.html under _products, matching correct.qmd.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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 a file is not listed among the ones to render in _quarto.yml, the output-dir option is not respected and the rendered file is placed directly next to the source file.
Steps to reproduce
Example files:
quarto.yml
project:
title: "Test"
output-dir: _products
render:
- "correct.qmd"
correct.qmd
This is rendered inside `_products/`.
wrong.qmd
This is rendered at project root.
Outputs of quarto render
PS C:\Projects\test> quarto render .\wrong.qmd
pandoc
to: html
output-file: wrong.html
standalone: true
section-divs: true
html-math-method: mathjax
wrap: none
default-image-extension: png
metadata
document-css: false
link-citations: true
date-format: long
lang: en
Output created: wrong.html
PS C:\Projects\test> quarto render .\correct.qmd
pandoc
to: html
output-file: correct.html
standalone: true
section-divs: true
html-math-method: mathjax
wrap: none
default-image-extension: png
metadata
document-css: false
link-citations: true
date-format: long
lang: en
Output created: _products\correct.html
Actual behavior
No response
Expected behavior
No response
Your environment
Positron Version: 2026.09.1 (user setup) build 2
Code - OSS Version: 1.130.0
Commit: 467ff390dd8b4ffc8972ebb84d9e05a1fd5a4fe2
Date: 2026-09-04T09:54:04-07:00
Electron: 42.6.0
Chromium: 148.0.7778.280
Node.js: 24.18.0
V8: 14.8.178.38-electron.0
OS: Windows_NT x64 10.0.26200
Quarto check output
PS C:\Projects\test> quarto check
Quarto 1.10.18
[>] Checking environment information...
Quarto cache location: C:\Users\AlessandroDiFabio\AppData\Local\quarto
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.10.0: OK
Dart Sass version 1.101.0: OK
Deno version 2.7.14: OK
Typst version 0.15.1: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.10.18
Path: c:\Users\AlessandroDiFabio\AppData\Local\Programs\Positron\resources\app\quarto\bin
CodePage: 1252
[>] Checking tools....................OK
TinyTeX: v2026.06
Chrome Headless Shell: (not installed)
VeraPDF: (not installed)
[>] Checking LaTeX....................OK
Using: TinyTex
Path: C:\Users\AlessandroDiFabio\AppData\Roaming\TinyTeX\bin\windows\
Version: 2026
[>] Checking Chrome Headless....................OK
Using: Chrome found on system
Path: C:\Program Files\Google\Chrome\Application\chrome.exe
Source: Windows Registry
[>] 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....(None)
Unable to locate an installed version of Python 3.
Install Python 3 from https://www.python.org/downloads/
[>] Checking Julia installation...
- Ngôn ngữ chính
- JavaScript
- Star
- 6.1k
- Fork
- 466
- Merge trung bình
- 20 giờ 35 phút
- Pull request đã merge (30 ngày)
- 75
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của quarto-dev/quarto-cli
-
accessibility bug listings
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
quarto-dev/quarto-cli#15066 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accessibility bootstrap dark-mode enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
quarto-dev/quarto-cli#15060 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Code annotation gutter keeps a grey background when code blocks have none (`code-block-bg: false`)Đang mởbug code-annotation code-blocks themes
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
quarto-dev/quarto-cli#15059 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug callouts code-blocks themes
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
quarto-dev/quarto-cli#15058 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
diagrams-mermaid maintenance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
quarto-dev/quarto-cli#15042 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của quarto-dev/quarto-cli
Issue tương tự
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
saayam-for-all/webapp#1919 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Uuriko/project-room#3728 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(site): Mermaid edge-label contrast on Architecture and a table header on How it comparesĐang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
devops-thiago/ThrillhouseBot#1132 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
andromarces/agent-loops#886 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug effort:low model:light plan planner:gpt-6-1-sol tests
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày