Skip to content

Commit

Permalink
Add a search bar to website (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivroy authored Jan 5, 2024
1 parent 766ad9b commit e6a7dcd
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, any::gifski, local::.
extra-packages: any::pkgdown, local::.
needs: website

- name: Build site
Expand Down
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ Suggests:
covr,
png
VignetteBuilder: knitr
Config/Needs/website: gifski
51 changes: 17 additions & 34 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,28 @@
destination: docs
url: https://patchwork.data-imaginist.com

authors:
Thomas Lin Pedersen:
href: https://data-imaginist.com

template:
params:
bootswatch: flatly
bootstrap: 5
bootswatch: flatly

navbar:
left:
- icon: fa-home fa-lg
href: index.html
- text: Getting Started
href: articles/patchwork.html
- text: Guides
menu:
- text: Plot Assembly
href: articles/guides/assembly.html
- text: Controlling Layout
href: articles/guides/layout.html
- text: Adding annotation to a patchwork
href: articles/guides/annotation.html
- text: Multipage Alignment
href: articles/guides/multipage.html
- text: Reference
href: reference/index.html
- text: News
menu:
- text: "Release notes"
- text: "Version 1.1.0"
href: https://www.data-imaginist.com/2020/insetting-a-new-patchwork-version/
- text: "Version 1.0.0"
href: https://www.data-imaginist.com/2019/patch-it-up-and-send-it-out/
- text: "------------------"
- text: "Change log"
href: news/index.html
right:
- icon: fa-github fa-lg
href: https://github.com/thomasp85/patchwork
news:
releases:
- text: "Version 1.1.0"
href: https://www.data-imaginist.com/2020/insetting-a-new-patchwork-version/
- text: "Version 1.0.0"
href: https://www.data-imaginist.com/2019/patch-it-up-and-send-it-out/

articles:
- title: Guides
navbar: ~
contents:
- guides/assembly
- guides/layout
- guides/annotation
- guides/multipage

reference:
- title: Plot Composition
Expand Down

0 comments on commit e6a7dcd

Please sign in to comment.