ci: guard against Quarto extensions serving the wrong document

オープン
#403 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@amylin1249 がすでに取り組んでいます。

2026年7月20日 から。

  • #442 @amylin1249 による — マージされずにクローズ

評価

この issue はまだ評価されていません。

説明

Surfaced in #392: a Quarto extension with no pinned primary document can silently serve a sibling .md (e.g. CHANGELOG.html) instead of its entrypoint, since Quarto renders CHANGELOG.md (it ignores README.md). No check catches it; everything builds fine.

o prevent this in the future, add a lint-extension check that runs quarto inspect and enforces the standard that a Quarto extension renders only the document it serves: a non-website extension fails if it renders a sibling Markdown page. Websites are exempt (they render many pages and serve index.html by convention). Add a CONTRIBUTING.md note to pin project.render.

Note: This edits shared infra, so CI will lint all extensions. quarto-stock-report-python/-r render a CHANGELOG today, so this PR also pins their project.render (and adds a matching pin to pqr) so they meet the standard. quarto-website legitimately renders many pages and is exempt.

主要言語
R
スター
10
フォーク
8
平均マージ
9時間 43分
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

posit-dev/connect-extensions のほかの issue

posit-dev/connect-extensions の issue をすべて見る

似ている issue

R の issue をもっと見る

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

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