From cf0a76c14feee76d9fbb924fc842511456bb97f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Wed, 17 Jul 2024 18:09:49 +0200 Subject: [PATCH] docs: modernize pkgdown config To not lose search with the new version --- _pkgdown.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/_pkgdown.yml b/_pkgdown.yml index e7c4a53..033af44 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -1,20 +1,17 @@ +url: https://docs.ropensci.org/rdefra navbar: - title: ~ - type: default - left: - - text: Reference - href: reference/index.html - - text: Articles + structure: + left: [intro, reference, articles, tutorials, news] + right: [search, github, lightswitch] +components: + articles: + text: Articles menu: - text: JOSS paper href: https://www.doi.org/10.21105/joss.00051 - text: Vignette href: articles/index.html - - text: News - href: news/index.html - right: - - icon: fa-github fa-lg - href: https://github.com/ropensci/rdefra + articles: - title: All articles