From 80f045466c0324c54c4a7a95392126a4cb075d59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Fri, 20 Sep 2024 09:59:01 +0200 Subject: [PATCH] add docs for plausible --- R/use-poisson-pkgdown.R | 1 + README.md | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/R/use-poisson-pkgdown.R b/R/use-poisson-pkgdown.R index d8457dd..a8d5a3f 100644 --- a/R/use-poisson-pkgdown.R +++ b/R/use-poisson-pkgdown.R @@ -40,6 +40,7 @@ use_poisson_pkgdown <- function(pkg = getwd()) { cat(paste(cli::symbol$tick, "Registered poissontemplate in pkgdown config.\n")) cat(paste(cli::symbol$bullet, "Check that the config edits are all harmless.\n")) cat(paste(cli::symbol$bullet, "Git commit and push to origin.\n")) + cat(paste(cli::symbol$bullet, "Contact Poisson consulting plausible owner to set up subdomain.\n")) # TODO: traffic analytics setup? } diff --git a/README.md b/README.md index 1dac20a..341b69a 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,15 @@ In every package where you need to set up poissontemplate usage, run poissontemplate::use_poisson_pkgdown() ``` +Then contact the owner of Poisson consulting Plausible account to have a domain set up. +Once it is done, amend and add the following lines to the pkgdown configuration file: + +```yaml +includes: + in_header: | + +``` + ## Relevant resources - pkgdown documentation about theming: https://pkgdown.r-lib.org/articles/customise.html#theming