From 8f86943f027b6cc0ca7bba6aed9eba7a0800ea18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Fri, 5 Jul 2024 15:33:36 +0200 Subject: [PATCH] docs: add search to website --- _pkgdown.yml | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/_pkgdown.yml b/_pkgdown.yml index 62bcad391..2edce21f4 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -2,22 +2,16 @@ destination: docs/ template: package: rotemplate navbar: - title: drake - type: default - left: - - icon: fa-home fa-lg - href: index.html - - text: Functions - href: reference/index.html - - text: Full manual - href: https://books.ropensci.org/drake/ - - text: FAQ - href: https://books.ropensci.org/drake/faq.html - - text: News - href: news/index.html - right: - - icon: fa-github fa-lg - href: https://github.com/ropensci/drake + components: + manual: + text: Full manual + href: https://books.ropensci.org/drake/ + faq: + text: FAQ + href: https://books.ropensci.org/drake/faq.html + structure: + left: [home, reference, manual, faq, news] + right: [search, github] articles: - title: Vignettes contents: