From 834831da627788c91fba87c9a13ea63acadb80c5 Mon Sep 17 00:00:00 2001 From: Jakub Nowicki Date: Mon, 15 Jul 2024 10:51:28 +0200 Subject: [PATCH 1/2] chore: Fix documentation page. --- pkgdown/_pkgdown.yml | 1 + pkgdown/extra.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/pkgdown/_pkgdown.yml b/pkgdown/_pkgdown.yml index da7863d..68e4da2 100644 --- a/pkgdown/_pkgdown.yml +++ b/pkgdown/_pkgdown.yml @@ -89,6 +89,7 @@ reference: - box_usage_linter - r6_usage_linter - unused_declared_object_linter + - namespaced_function_calls - title: Box Styling contents: - style_box_use_text diff --git a/pkgdown/extra.css b/pkgdown/extra.css index eb99fc5..139b7ed 100644 --- a/pkgdown/extra.css +++ b/pkgdown/extra.css @@ -14,6 +14,10 @@ color: rgba(255, 255, 255, 0.8); } +#navbar > ul.navbar-nav > li.nav-item > button { + color: rgba(255, 255, 255, 0.8); +} + .navbar-light .navbar-nav .active > .nav-link { background-color: var(--primary-color) !important; color: #fff !important; From 14b330c53511239e14b06183000baefb160ed390 Mon Sep 17 00:00:00 2001 From: Jakub Nowicki Date: Mon, 15 Jul 2024 10:57:01 +0200 Subject: [PATCH 2/2] chore: Bump package version --- DESCRIPTION | 2 +- NEWS.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index c670c45..6d7ec9b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: box.linters Title: Linters for 'box' Modules -Version: 0.9.1.9005 +Version: 0.10.0 Authors@R: c( person("Ricardo Rodrigo", "Basa", role = c("aut", "cre"), email = "opensource+rodrigo@appsilon.com"), diff --git a/NEWS.md b/NEWS.md index 743563a..ffbc80f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# box.linters (development version) +# box.linters 0.10.0 * Add checks for `package::function()` calls. Allow `box::*()` by default. * [Bug fix] Allow relative box module paths (#110) @@ -10,7 +10,7 @@ * Handle `box` recommended method of testing private methods. * Added handler for `glue` string templates. -* Added box_mod_fun_exists_linter() to default linters +* Added box_mod_fun_exists_linter() to default linters * [bug fix] box_trailing_commas_linter() now properly handles a #nolint for other linters * [bug fix] `box_unused_att_pkg_fun_linter()` had issues with lists of functions. Linter function now drops the nested function name and retains the list name (`list_name$function_name()`) when