Skip to content

Commit

Permalink
Modernize pkgdown config
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy committed Aug 5, 2024
1 parent df22b3d commit 3558b73
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
isPush: ${{ github.event_name == 'push' }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

Expand Down
32 changes: 17 additions & 15 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,26 @@ template:

navbar:
type: inverse
left:
- icon: fa-home
structure:
left: [home, news, reference, articles]
components:
home:
icon: fa-home
href: index.html
- icon: fa-newspaper-o
aria-label: "Home"
news:
icon: fa-newspaper-o
text: "News"
href: news/index.html
- icon: fa-file-code-o
text: "Documentation"
reference:
icon: fa-file-code-o
href: reference/index.html
- icon: fa-book
text: "Documentation"
articles:
icon: fa-book
text: "Vignettes"
menu:
- text: Exploring interactions with continuous predictors in regression models
href: articles/interactions.html
- text: Plotting interactions among categorical variables in regression models
href: articles/categorical.html

right:
- icon: fa-github fa-lg
text: "Github"
href: https://github.com/jacob-long/interactions
- text: Exploring interactions with continuous predictors in regression models
href: articles/interactions.html
- text: Plotting interactions among categorical variables in regression models
href: articles/categorical.html

0 comments on commit 3558b73

Please sign in to comment.