posit-dev / publisher

MIT License
3 stars 0 forks source link

Omit rendered files in quarto mode #1838

Closed mmarchetti closed 1 week ago

mmarchetti commented 2 weeks ago

Intent

When inspecting a quarto source project, create a configuration that omits local rendering artifacts. They are not needed since Connect will render the content.

Fixes #1707

Type of Change

Approach

Omit the output-file indicated by the quarto inspect output, along with its associated assets directory.

Automated Tests

Existing tests have been updated.

Directions for Reviewers

Render your Quarto content locally, then deploy in quarto mode. The HTML output and directory should not be included. Deploy it again in HTML mode; then it should be included.