Skip to content
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

fix: do not change cwd if pointing to _quarto.yml #296

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Conversation

machow
Copy link
Owner

@machow machow commented Oct 13, 2023

When pointing to a quarto file (e.g. quartodoc build --config docs/_quarto.yml), we no longer change the cwd, but append the docs folder holding _quarto.yml (e.g. docs/) to the path. This

  • continues to support cases where people define a renderer in their quarto docs folder, but call it from home.
  • fixes an issue where building a subfolder changed your working directory, which you relied on for importing your package.

It also just feels a bit less spooky.

@machow machow marked this pull request as ready for review October 13, 2023 20:59
@machow machow merged commit f4005ce into main Oct 13, 2023
5 checks passed
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.

1 participant