Skip to content

Conversation

@gordonwoodhull
Copy link
Contributor

@gordonwoodhull gordonwoodhull commented Jan 13, 2026

If there's no project, create _brand/ in document directory.

Also, use Quarto brand extensions; fixes #13863

gordonwoodhull and others added 2 commits January 13, 2026 01:16
Fall back to current working directory when no _quarto.yml project
is found, allowing the command to work in single-file mode.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When `quarto use brand` encounters a brand extension (has _extension.yml
with contributes.metadata.project.brand), it now:
- Detects the extension in the staged directory (root, _extensions/*, or
  _extensions/*/*)
- Uses the extension directory as the source
- Excludes _extension.yml from being copied
- Renames the brand file (e.g., brand.yml) to _brand.yml

Also updates tests:
- Scenario 8 now tests single-file mode (no _quarto.yml)
- Adds Scenario 15 for brand extension installation
- Adds Scenario 16 for brand extension dry-run

Fixes #13863

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Jan 13, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

quarto use brand should also work with Quarto brand extensions

3 participants