Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`output-dir` YAML option is not respected when source file is not in the `render` list

オープン
#14,927 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript
領域
build-system, cli

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

bug projects
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...
主要言語
JavaScript
スター
6.1k
フォーク
463
平均マージ
21時間 14分
マージ済み PR(30日)
60

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

quarto-dev/quarto-cli のほかの issue

quarto-dev/quarto-cli の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。