quarto-dev / quarto-dev/quarto-cli

`_variables.yml` does not support profiles

Open
#5,954 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Feature description

With the _quarto.yml file, different profiles can be created for, e.g., proofing and production versions of the same document.

This is useful for parallel compilation, since builds of the two versions are independent.

However, the _variables.yml file does not support the profile mechanism, meaning that if you have different variables for proofing and production, you still need to sequential compile runs.

Proposed solution: make _variables.yml behave the same way as _quarto.yml w.r.t. the profile.

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Your environment

No response

Quarto check output

No response

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.

Research direction

Compare the profile handling described for _quarto.yml with the loading behavior of _variables.yml. Trace where these configuration files are processed, then verify that profile-specific variables are selected independently for proofing and production builds.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.