From 35be33ebffd82156b5cad9b175b1b15c7a170bfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Fri, 5 Jul 2024 15:46:36 +0200 Subject: [PATCH] docs: add search to pkgdown navbar and use more modern config syntax https://pkgdown.r-lib.org/articles/customise.html#navbar-heading --- _pkgdown.yml | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/_pkgdown.yml b/_pkgdown.yml index e59d8f1..e9a761b 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -34,27 +34,9 @@ reference: - '`DT`' navbar: - left: - home: - icon: fa-home fa-lg - href: index.html - reference: - text: "Reference" - href: reference/index.html - articles: - text: "Vignettes" - menu: - - text: Introduction to spatsoc - href: articles/intro-spatsoc.html - - text: Frequently asked questions - href: articles/faq.html - - text: Using spatsoc in social network analysis - href: articles/using-in-sna.html - - text: Using edge list and dyad id functions - href: articles/using-edge-and-dyad.html - news: - text: "News" - href: news/index.html - + structure: + left: [home, reference, articles, news] + right: [search, github] + news: - one_page: true