-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
46 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
#' State- and University Library of Göttingen [pkgdown](http://pkgdown.r-lib.org) template | ||
#' | ||
#' @details | ||
#' To use this template for website, list {subugoetheme} in your `DESCRIPTION` and add to your `_pkgdown.yml`: | ||
#' @section Usage: | ||
#' To use this template for your pkgdown website, list {subugoetheme} in your `DESCRIPTION` and add to your `_pkgdown.yml`: | ||
#' | ||
#' ```yaml | ||
#' template: | ||
#' package: subugoetheme | ||
#' ```` | ||
#' ``` | ||
#' | ||
#' To update your website, install the current version of {subugoetheme} and re-run `pkgdown::build_site()` locally or in your CI. | ||
#' | ||
#' @section Features: | ||
#' As a result, your website will: | ||
#' | ||
#' - Use the [**bootswatch `cosmo` bootstrap theme**](https://bootswatch.com/3/cosmo/) with an inverse navbar. | ||
|
@@ -18,12 +21,20 @@ | |
#' - Include the **SUB wordmark** in your website as `sub_wordmark.jpg`. | ||
#' The wordmark is included in the custom footer. | ||
#' - Expose the SUB twitter account [`@subugoe`](https://twitter.com/subugoe) as **opengraph [metadata](https://pkgdown.r-lib.org/articles/metadata.html)** (`twitter: site`). | ||
#' | ||
#' In a further difference to "vanilla" pkgdown sites, Google Analytics is disabled for all subugoetheme sites. | ||
#' | ||
#' To pull in changes in this package to your website, install the current version of {subugoetheme} and re-run `pkgdown::build_site()` locally or in your CI. | ||
#' | ||
#' To pull in upstream changes from {pkgdown} into *this* package, it may be ocassionally necessary to update the files in `inst/pkgdown/templates` which have been minimally adapted from their original counterparts in {pkgdown}. | ||
#' | ||
#' For additional features, see [muggle](http://subugoe.github.io/muggle/). | ||
#' | ||
#' @section Analytics: | ||
#' Instead of Google Analytics, this template includes a tracking code for `matomo.gwdg.de` on every website. | ||
#' Matomo is an open-source alternative to Google Analytics, here hosted by the [GWDG](http://matomo.gwdg.de). | ||
#' | ||
#' The following SUB employees have access to the analytics: | ||
#' - [Najko Jahn](https://www.sub.uni-goettingen.de/kontakt/personen-a-z/personendetails/person/najko-jahn/) | ||
#' - [Maximilian Held](https://www.sub.uni-goettingen.de/kontakt/personen-a-z/personendetails/person/maximilian-held/) | ||
#' - `[email protected]`, a function account for [WAG](https://www.sub.uni-goettingen.de/kontakt/abteilungen-a-z/abteilungs-und-gruppendetails/abteilunggruppe/wissen-als-gemeingut/) data products. | ||
#' | ||
#' @section Maintenance: | ||
#' To pull in upstream changes from {pkgdown} into *this* package, it may be ocassionally neccessary to update the files in `inst/pkgdown/templates` which have been minimally adapted from their original counterparts in {pkgdown}. | ||
#' | ||
#' To learn more about pkgdown templates, read [here](https://pkgdown.r-lib.org/reference/build_site.html) or consider [these](https://github.com/ropensci/rotemplate) [examples](https://tidytemplate.tidyverse.org). | ||
#' | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.