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

ENH: Auto look for _polished.yml #164

Open
muschellij2 opened this issue Dec 13, 2021 · 1 comment
Open

ENH: Auto look for _polished.yml #164

muschellij2 opened this issue Dec 13, 2021 · 1 comment

Comments

@muschellij2
Copy link
Contributor

ENH - close if needed.

I wonder if some code could be useful that if you pass in NULL or have NULL as the default for global_sessions_config arguments, then it could look for a _polished.yml file, similar to pkgdown and bookdown.

  polished_yaml_file = "_polished.yml"
  if (file.exists(polished_yaml_file)) {
    polished_config = config::get(file = polished_yaml_file)
  }
@merlinoa
Copy link
Collaborator

Yes I think this could be useful. I'll give it some more thought over the next couple days.

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

No branches or pull requests

2 participants