Enhancement request, observed in washr 1.0.2.
setup_website() removes docs from .gitignore, which fits the openwashdata workflow of committing the built site to main. When a package deploys with the standard pkgdown GitHub Actions workflow instead (build on push, deploy to gh-pages), docs/ should stay ignored, and users have to re-add the ignore entry after every setup_website() run.
Suggestion: either an argument such as setup_website(track_docs = TRUE) defaulting to the current behaviour, or skip the .gitignore edit when .github/workflows/pkgdown.yaml exists.
Enhancement request, observed in washr 1.0.2.
setup_website()removesdocsfrom.gitignore, which fits the openwashdata workflow of committing the built site to main. When a package deploys with the standard pkgdown GitHub Actions workflow instead (build on push, deploy to gh-pages),docs/should stay ignored, and users have to re-add the ignore entry after everysetup_website()run.Suggestion: either an argument such as
setup_website(track_docs = TRUE)defaulting to the current behaviour, or skip the.gitignoreedit when.github/workflows/pkgdown.yamlexists.