From 78d327bcd347f22ed8f7328566b4bf1818357c36 Mon Sep 17 00:00:00 2001 From: lwjohnst86 Date: Sat, 9 Nov 2024 20:35:46 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'=5Fextensi?= =?UTF-8?q?ons/rostools/r3-theme/'=20with=20remote=20'=5Fextensions/r3-the?= =?UTF-8?q?me/'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _extensions/rostools/r3-theme/_extension.yml | 32 +++++++------------ .../rostools/r3-theme/custom-site.scss | 8 ----- 2 files changed, 12 insertions(+), 28 deletions(-) diff --git a/_extensions/rostools/r3-theme/_extension.yml b/_extensions/rostools/r3-theme/_extension.yml index 87e776e..66d2151 100644 --- a/_extensions/rostools/r3-theme/_extension.yml +++ b/_extensions/rostools/r3-theme/_extension.yml @@ -1,18 +1,21 @@ title: r3-theme author: Luke W. Johnston -version: 1.0.5 -quarto-required: ">=1.3.0" +version: 1.0.6 +quarto-required: ">=1.5.0" contributes: format: html: highlight-style: a11y - code-line-numbers: true + fig-dpi: 72 + fig-width: 5.5 + fig-height: 5 + fig-align: center df-print: tibble + code-link: true code-overflow: scroll from: markdown+emoji - code-link: true theme: - - zephyr + - yeti - custom-site.scss revealjs: @@ -28,8 +31,7 @@ contributes: project: project: type: book - output-dir: public - execute-dir: project + execute: project book: favicon: "favicon.ico" @@ -37,23 +39,13 @@ contributes: repo-actions: [edit, issue, source] search: true - execute: - warning: false - csl: vancouver.csl callout-appearance: minimal reference-location: margin + citation-location: margin crossref: chapters: true - knitr: - opts_chunk: - comment: "#>" - fig-dpi: 72 - fig-width: 5.5 - fig-height: 5 - fig-align: center - out-width: 100% - - format: r3-theme-html + execute: + freeze: auto diff --git a/_extensions/rostools/r3-theme/custom-site.scss b/_extensions/rostools/r3-theme/custom-site.scss index 993d408..1fe69ee 100644 --- a/_extensions/rostools/r3-theme/custom-site.scss +++ b/_extensions/rostools/r3-theme/custom-site.scss @@ -12,14 +12,6 @@ $font-size-root: 18px !default; /*-- scss:rules --*/ -svg { - display: block; - max-width: 100% !important; - margin: 0 auto; - height: auto !important; - width: auto !important; -} - .slide-deck { border: 3px solid #203C6E; width: 100%; From aff25823c1bd8f5fa2f56c93d06ab5541fc8d827 Mon Sep 17 00:00:00 2001 From: lwjohnst86 Date: Sat, 9 Nov 2024 20:35:46 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=94=84=20created=20local=20'justfile'?= =?UTF-8?q?=20from=20remote=20'justfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- justfile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 0000000..aaef9a2 --- /dev/null +++ b/justfile @@ -0,0 +1,25 @@ +@_default: + just --list --unsorted + +# Run all recipes +run-all: install-dependencies spell-check style build-site + +# Install package dependencies +install-dependencies: + #!/usr/bin/Rscript + pak::pak(ask = FALSE) + +# Check spelling of Markdown files +spell-check: + #!/usr/bin/Rscript + files <- fs::dir_ls(here::here(), recurse = TRUE, regexp = "*\\.(md|qmd|Rmd)") + spelling::spell_check_files(files) + +# Style all R code +style: + #!/usr/bin/Rscript + styler::style_dir(here::here()) + +# Build pkgdown website +build-site: + quarto render From 2ec49d1cf40c6f5556d8bcbdaa4202d90eff22a2 Mon Sep 17 00:00:00 2001 From: lwjohnst86 Date: Sat, 9 Nov 2024 20:35:46 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.gitignore?= =?UTF-8?q?'=20with=20remote=20'.gitignore'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 96e2d35..65021f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,20 +1,12 @@ .Rproj.user .Rhistory -.RData -.Ruserdata +.Rdata +.httr-oauth .DS_Store -public/* -*_files/* -*.rds +_book +_site +public +_freeze +/.quarto/ .Rbuildignore -*.bib.sav -r-cubed-intermediate.Rmd -data-raw/mmash/ -data-raw/mmash.R -_ignore -R/_ignore.R -slides/libs slides/*.html -/.quarto/ -_temp -_freeze