From 10bd4b1672dcac1d64afaf3c0387d65198a243f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Thu, 18 Jul 2024 02:05:15 +0200 Subject: [PATCH] docs: modernize pkgdown config (#20) 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