Skip to content

Commit

Permalink
refactor: improve PDF file exclusion patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
cafferychen777 committed Dec 31, 2024
1 parent d3ca3c8 commit b1dd795
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@
^README-ES\.md$
^README\.Rmd$
^_pkgdown\.yml$
^docs$
^pkgdown$
^LICENSE\.md$
^cran-comments\.md$
^CRAN-RELEASE$
^revdep$
^\.travis\.yml$
^codecov\.yml$
# Documentation related
^docs/.*\.pdf$
^docs/reference/.*\.pdf$
^inst/doc/.*\.pdf$
^inst/doc/reference/.*\.pdf$
^vignettes/.*\.pdf$
^vignettes/.*_files$
^vignettes/.*_cache$
^man/figures/.*\.pdf$
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ src/*.dll

# Documentation
docs/
*.pdf
# Ignore PDF files in docs/reference
docs/reference/*.pdf
# Ignore all PDF files in docs directory and its subdirectories
docs/**/*.pdf
# Ignore specific documentation PDFs
inst/doc/**/*.pdf
vignettes/**/*.pdf

# IDE
.idea/
Expand Down

0 comments on commit b1dd795

Please sign in to comment.