Skip to content

Commit

Permalink
fix pkgdown
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulC91 committed Jun 14, 2024
1 parent df59cef commit c23b9d9
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 22 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:

name: pkgdown

permissions: read-all

jobs:
pkgdown:
runs-on: ubuntu-latest
Expand All @@ -22,7 +24,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

Expand All @@ -41,7 +43,7 @@ jobs:

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
clean: false
branch: gh-pages
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
inst/doc
doc
Meta

local/
,DS_Store
local/
docs
18 changes: 13 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,28 @@ Package: epivis
Title: Tools for visualising epidemiological data
Version: 0.0.0.9000
Authors@R:
person(given = "Paul",
family = "Campbell",
role = c("aut", "cre"),
email = "[email protected]",
comment = c(ORCID = "0000-0003-1018-6606"))
c(person(given = "Paul",
family = "Campbell",
role = c("aut", "cre"),
email = "[email protected]",
comment = c(ORCID = "0000-0003-1018-6606")),
person(given = "Hugo",
family = "Soubrier",
role = c("aut"),
email = "[email protected]"))
Description: What the package does (one paragraph).
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
LazyData: true
Imports:
cli,
rlang,
ggplot2,
dplyr,
purrr,
tidyr,
stringr,
magrittr,
scales,
glue,
Expand Down
21 changes: 8 additions & 13 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
url: https://epicentre-msf.github.io/epivis/

destination: docs

template:
params:
bootswatch: paper
bootstrap: 5
authors:
Paul Campbell:
href: https://github.com/paulc91
Hugo Soubrier:
href: https://github.com/hugzsoubrier

reference:
- title: Plotting functions
desc: Functions to make graphics
contents:
- starts_with("plot")

desc: Functions to make graphics
contents: starts_with("plot")
- title: Utility functions
desc: Helpers to make your life easier
contents:
- label_breaks
- dodge_x_labels

- dodge_x_labs
- title: Themes & stylers
desc: Pre-made themes for standardised tables and ggplots
contents:
- starts_with("epitheme")
contents: starts_with("epitheme")
- title: Data
desc: Example package data
contents: moissala_measles

0 comments on commit c23b9d9

Please sign in to comment.