From f7dd0760cb26eeb8edd992d8ef9e704417fe4fad Mon Sep 17 00:00:00 2001 From: Gavin Simpson Date: Wed, 6 Mar 2024 09:35:00 +0100 Subject: [PATCH] refresh the pkgdown config --- .github/workflows/pkgdown.yaml | 7 +------ .gitignore | 1 + _pkgdown.yml | 16 ---------------- pkgdown/_pkgdown.yml | 13 +++++++++++-- 4 files changed, 13 insertions(+), 24 deletions(-) delete mode 100644 _pkgdown.yml diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index e5b311013..ba8ec4084 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -32,10 +32,7 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@v2 with: - extra-packages: | - any::pkgdown - local::. - Matrix + extra-packages: any::pkgdown, local::., Matrix pak-version: devel needs: website @@ -50,5 +47,3 @@ jobs: clean: false branch: gh-pages folder: docs - -# or folder = docs? \ No newline at end of file diff --git a/.gitignore b/.gitignore index d5a2136f8..6ac14d27e 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ revdep/ CRAN-SUBMISSION /doc/ /Meta/ +docs diff --git a/_pkgdown.yml b/_pkgdown.yml deleted file mode 100644 index 03f8ac0ea..000000000 --- a/_pkgdown.yml +++ /dev/null @@ -1,16 +0,0 @@ - -destination: docs -url: https://gavinsimpson.github.io/gratia/ - -authors: - Gavin L Simpson: - href: https://fromthebottomoftheheap.net - -template: - bootstrap: 5 - bootswatch: flatly - -navbar: - structure: - left: [intro, articles, reference, news] - right: [search, github] diff --git a/pkgdown/_pkgdown.yml b/pkgdown/_pkgdown.yml index 94291f6da..485168b23 100644 --- a/pkgdown/_pkgdown.yml +++ b/pkgdown/_pkgdown.yml @@ -4,9 +4,13 @@ home: title: An R package for working with generalized additive models description: Graceful 'ggplot'-based graphics and utility functions for working with generalized additive models (GAMs) fitted using the 'mgcv' package. +authors: + Gavin L. Simpson + href: https://fromthebottomoftheheap.net + template: - params: - bootswatch: simplex + bootstrap: 5 + bootswatch: flatly opengraph: image: src: man/figures/README-draw-gam-figure-1.png @@ -14,3 +18,8 @@ template: twitter: creator: "@ucfagls" card: summary_large_image + +navbar: + structure: + left: [intro, articles, reference, news] + right: [search, github]