Skip to content

refactor: ♻️ delete whole references folder pre and post render #142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

martonvago
Copy link
Contributor

Description

This PR makes the pre and post render steps delete the whole references folder, not just the qmd files.

This PR needs a quick review.

Checklist

  • Added or updated tests
  • Updated documentation
  • Ran just run-all

@martonvago martonvago self-assigned this Aug 13, 2025
@martonvago martonvago moved this from Todo to In Review in Iteration planning Aug 13, 2025
@@ -1,7 +1,7 @@
project:
type: website
# Delete auto-generated files from `quartodoc`
post-render: rm -f docs/reference/*.qmd
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wasn't deleting the files for me for some reason.
There are also other files in the folder -- I'm assuming all can be deleted as we're not tracking this folder?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested that quarto doesn't seem to use rm. So we could move the deletion outside of quarto 😌

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait so the new version doesn't work for you either?

@martonvago martonvago marked this pull request as ready for review August 13, 2025 14:22
@martonvago martonvago requested a review from a team as a code owner August 13, 2025 14:22
@lwjohnst86
Copy link
Member

Fyi, since this changes files in the template folder, it would be refactor or fix (or feat) 😌

@lwjohnst86 lwjohnst86 changed the title build: 🔧 delete whole references folder pre and post render refactor: 🔧 delete whole references folder pre and post render Aug 13, 2025
@martonvago martonvago changed the title refactor: 🔧 delete whole references folder pre and post render refactor: ♻️ delete whole references folder pre and post render Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Review
Development

Successfully merging this pull request may close these issues.

2 participants