From 1b93a4a091898c792f8438a199d95600881cf43e Mon Sep 17 00:00:00 2001 From: Andrew Bruce Date: Sun, 21 Jul 2024 20:06:23 -0700 Subject: [PATCH] fix pkgdown --- DESCRIPTION | 2 +- README.Rmd | 29 +++++++---- _pkgdown.yml => pkgdown/_pkgdown.yml | 23 ++++++--- pkgdown/extra.css | 77 ++++++++++++++++++++++++++++ vignettes/articles/testss.Rmd | 2 +- 5 files changed, 113 insertions(+), 20 deletions(-) rename _pkgdown.yml => pkgdown/_pkgdown.yml (71%) create mode 100644 pkgdown/extra.css diff --git a/DESCRIPTION b/DESCRIPTION index 2e7585c..1ba5fdb 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: forager -Title: Healthcare Revenue Cycle Analysis Suite +Title: Healthcare Revenue Cycle Analysis Version: 0.0.1 Authors@R: person("Andrew", "Bruce", , "andrewallenbruce@gmail.com", role = c("aut", "cre", "cph")) diff --git a/README.Rmd b/README.Rmd index 4643450..33df353 100644 --- a/README.Rmd +++ b/README.Rmd @@ -1,15 +1,12 @@ --- output: github_document -editor_options: - markdown: - wrap: 72 --- + ```{r, include = FALSE} knitr::opts_chunk$set( - collapse = TRUE, echo = TRUE, message = FALSE, warning = FALSE, @@ -21,6 +18,8 @@ knitr::opts_chunk$set( ) ``` + + # forager > ***Forager** (noun)* @@ -46,15 +45,19 @@ knitr::opts_chunk$set( -## Installation +
+ +## :package: Installation -You can install the development version of `forager` from [GitHub](https://github.com/) with: +You can install `forager` from [GitHub](https://github.com/) with: ``` r # install.packages("pak") pak::pak("andrewallenbruce/forager") ``` +## :beginner: Usage + ```{r setup, echo=TRUE, message=FALSE, warning=FALSE} library(tidyverse) library(clock) @@ -63,6 +66,7 @@ library(forager) library(fuimus) ``` + ## The Lifecycle of a Claim ```{r, echo=TRUE, warning=FALSE} @@ -147,12 +151,15 @@ tibble( ``` -## Code of Conduct +------------------------------------------------------------------------------ + +## :balance_scale: Code of Conduct + +Please note that the `forager` project is released with a [Contributor Code of Conduct](https://andrewallenbruce.github.io/forager/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms. + +## :classical_building: Governance -Please note that the `forager` project is released with a [Contributor -Code of -Conduct](https://andrewallenbruce.github.io/forager/CODE_OF_CONDUCT.html). -By contributing to this project, you agree to abide by its terms. +This project is primarily maintained by [Andrew Bruce](https://github.com/andrewallenbruce). Other authors may occasionally assist with some of these duties. [^1]: diff --git a/_pkgdown.yml b/pkgdown/_pkgdown.yml similarity index 71% rename from _pkgdown.yml rename to pkgdown/_pkgdown.yml index a175726..d58b4b1 100644 --- a/_pkgdown.yml +++ b/pkgdown/_pkgdown.yml @@ -2,21 +2,25 @@ url: https://andrewallenbruce.github.io/forager/ template: bootstrap: 5 - light-switch: TRUE bootswatch: flatly + theme: tango bslib: + font_scale: 1 + line_height: 1.75 base_font: {google: "Roboto"} heading_font: {google: "Roboto Slab"} - code_font: {google: "JetBrains Mono"} - pkgdown-nav-height: 100px + code_font: "Hack, mono" + includes: + in_header: home: + title: forager • Tidy Healthcare Revenue Cycle Analysis + description: > + Tidy tools for wrangling and analyzing healthcare revenue cycles. sidebar: structure: [links, license, community, citation, authors, dev] navbar: - bg: primary - type: dark structure: left: - intro @@ -31,25 +35,30 @@ navbar: components: home: icon: fas fa-home fa-lg - text: "" href: index.html + aria-label: Home + text: "" reference: text: Reference href: reference/index.html news: icon: far fa-newspaper fa-lg href: news/index.html - text: "" + aria-label: News title: "Changelog" + text: "" github: icon: fab fa-github fa-lg href: https://github.com/andrewallenbruce/forager + aria-label: GitHub linkedin: icon: fas fa-linkedin fa-lg href: https://www.linkedin.com/in/andrewallenbruce/ + aria-label: LinkedIn twitter: icon: fab fa-twitter fa-lg href: http://twitter.com/andrewallbruce + aria-label: X opengraph: image: src: man/figures/card.png diff --git a/pkgdown/extra.css b/pkgdown/extra.css new file mode 100644 index 0000000..592a515 --- /dev/null +++ b/pkgdown/extra.css @@ -0,0 +1,77 @@ +h1, .h1 { + font-size: 2rem; + line-height: 1.25em; +} + +h2, .h2 { + font-size: 1.75rem; + line-height: 1.25em; +} + +h3, .h3 { + font-size: 1.5rem; +} + +h4, .h4 { + font-size: 1.25rem; +} + +dt { + color: rgb(38, 38, 38); + text-decoration: underline; + text-decoration-style: solid; + text-underline-offset: 4px; + font-family: monospace; + border-top-style: dotted; + border-top-width: 1px; + border-top-color: gray; + margin-bottom: 5px; + padding-top: 5px; +} + +img { + border-radius: 4px; +} + +.roles { + color: rgb(3, 153, 3) !important; +} + +.active .nav-link { + color: rgb(3, 153, 3) !important; +} + +.text-muted { + color: rgb(0, 141, 158) !important +} + +dd > p:nth-child(1) > em { + color: gray !important; + margin-bottom: 4px !important +} + +dd > p:nth-child(1) { + margin-bottom: -5px !important; + margin-left: -3px !important; +} + +dd > p:nth-child(2) { + margin-left: -6px !important; +} + +.row > main { + max-width: 100%; +} + +@media only screen and (min-width: 640px) { + main + .col-md-3 { + margin-left: unset; + padding-left: 5rem; + max-width: 75%; + } +} + +h4.author,h4.date { + padding-top:0px; + margin-top:0px; +} diff --git a/vignettes/articles/testss.Rmd b/vignettes/articles/testss.Rmd index ea50620..c4e6b13 100644 --- a/vignettes/articles/testss.Rmd +++ b/vignettes/articles/testss.Rmd @@ -21,7 +21,7 @@ library(lubridate) library(clock) library(tidyr) library(ggplot2) -library(ggforce) +# library(ggforce) library(scales) library(ggthemes) library(gt)