Skip to content

Commit

Permalink
Merge pull request #87 from KWB-R/dev
Browse files Browse the repository at this point in the history
Bugfix release v0.2.1
  • Loading branch information
mrustl authored Feb 9, 2022
2 parents c0b5fa8 + c14e9f8 commit 7fe1c47
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: kwb.pkgbuild
Title: R package for standardised development at KWB
Version: 0.2.0
Version: 0.2.1
Authors@R:
c(person(given = "Michael",
family = "Rustler",
Expand Down
10 changes: 9 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# [kwb.pkgbuild 0.2.1](https://github.com/KWB-R/kwb.pkgbuild/releases/tag/v0.2.1) <small>2022-02-09</small>

* Bugfix for correctly writing package documentation website URL to `_pkgdown.yml`

# [kwb.pkgbuild 0.2.0](https://github.com/KWB-R/kwb.pkgbuild/releases/tag/v0.2.0) <small>2022-01-20</small>

* Documentation website with `pkgdown (>= 2.0.2)` and new [KWB website](https://kompetenz-wasser.de): - Design: now using `bootstrap5` and colors slightly adapted to KWB design.
* Documentation website with `pkgdown (>= 2.0.2)` and new [KWB website](https://kompetenz-wasser.de):

- Design: now using `bootstrap5` and colors slightly adapted to KWB design.

- URL to KWB logo was updated due to new website.

- **Attention: URLs to projects (including logos) need to be corrected manually (for old `_pkgdown.yml` files**

* Deleted functions for unused CIs `travis` and `appveyor`
Expand Down
2 changes: 1 addition & 1 deletion R/use_pkg.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ use_pkg <- function(
}

# Create PKGDOWN YML
use_pkgdown(author, copyright_holder$name, pkg, user, domain)
use_pkgdown(author, copyright_holder$name, pkg$name, user, domain)

# Update Github Actions
use_ghactions()
Expand Down
2 changes: 1 addition & 1 deletion R/use_pkgdown.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ use_pkgdown <- function(
authors <- c(authors, stats::setNames(nm = copyright_holder_name, list(list(
href = "http://www.kompetenz-wasser.de",
html = paste0(
"<img src='https://publications.kompetenz-wasser.de/img/KWB-Logo.svg",
"<img src='https://publications.kompetenz-wasser.de/img/KWB-Logo.svg'",
" alt='KWB' width='72' />")
))))
}
Expand Down

0 comments on commit 7fe1c47

Please sign in to comment.