ci: guard against Quarto extensions serving the wrong document

Aperta
#403 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@amylin1249 ci sta già lavorando.

Dal 20/7/2026.

  • #442 di @amylin1249 — chiusa senza merge

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
R
Stelle
10
Fork
8
Merge medio
9h 43m
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di posit-dev/connect-extensions

Tutte le issue di posit-dev/connect-extensions

Issue simili

Altre issue su R

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.