Skip to content

Commit

Permalink
Merge pull request #49 from Appsilon/fix-example-in-documentation
Browse files Browse the repository at this point in the history
Fix example in documentation
  • Loading branch information
jakubnowicki authored Dec 11, 2023
2 parents 9697b60 + 2b3dc43 commit 8dc8efc
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: reactable.extras
Title: Extra Features for 'reactable' Package
Version: 0.2.0
Version: 0.2.0.9000
Authors@R:
c(
person("Recle", "Vibal", role = c("aut", "cre"), email = "[email protected]"),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# reactable.extras (development)

- Fix server-side processing example.

# reactable.extras 0.2.0

First release.
3 changes: 1 addition & 2 deletions R/reactable-server.R
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,7 @@ get_data_on_page <- function(data, page_number, total_pages) {
#' mpg = reactable::colDef(name = "Miles per Gallon"),
#' cyl = reactable::colDef(name = "Cylinders"),
#' disp = reactable::colDef(name = "Displacement")
#' ),
#' rows_per_page = 7
#' )
#' )
#' }
#' )
Expand Down
3 changes: 1 addition & 2 deletions man/reactable-extras-server.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ url: https://appsilon.github.io/reactable.extras/
navbar:
bg: primary
structure:
left: [home, tutorials, reference]
left: [home, tutorials, reference, changelog]
right: [search, github, twitter, mastodon]
components:
home:
Expand All @@ -51,6 +51,10 @@ navbar:
icon: fa-file-code-o
text: "Reference"
href: reference/index.html
changelog:
icon: fa-newspaper-o
text: "Changelog"
href: news/index.html
github:
icon: fa-github fa-lg
href: https://github.com/Appsilon/reactable.extras
Expand Down
12 changes: 10 additions & 2 deletions pkgdown/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,17 @@
background-color: var(--primary-color) !important;
}

.navbar-dark .navbar-nav .active>.nav-link {
#navbar > ul.navbar-nav > li.nav-item > a {
color: rgba(255, 255, 255, 0.55);
}

.navbar-dark .navbar-nav .active > .nav-link {
background-color: var(--primary-color) !important;
color: #fff;
color: #fff !important;
}

.navbar-brand {
color: #fff !important;
}

.navbar-dark input[type="search"] {
Expand Down

0 comments on commit 8dc8efc

Please sign in to comment.