quarto-dev / quarto-dev/quarto-cli
`_variables.yml` does not support profiles
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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