From ea24a03af8e4b9130492487c6b5e97de79ad5a82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Tue, 10 Sep 2024 20:17:40 +0200 Subject: [PATCH 1/2] docs: add note and example on how to reuse a sidebar for a page --- docs/websites/website-navigation.qmd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/websites/website-navigation.qmd b/docs/websites/website-navigation.qmd index fade26f56..32b2c7129 100644 --- a/docs/websites/website-navigation.qmd +++ b/docs/websites/website-navigation.qmd @@ -377,7 +377,13 @@ website: title: "Reference" contents: # navigation items - +``` + +To use a specific sidebar on a page or a group of pages, specify the `sidebar` ID in the front matter of the page or in the `_metadata.yml` file. +For example, to include the tutorials sidebar, from the above example, on a page, add the following to the page's front matter: + +```yaml +sidebar: tutorials ``` ## Breadcrumbs From bfc2bbfc62b7217034acec12b127261fae1d7b2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Tue, 10 Sep 2024 20:20:26 +0200 Subject: [PATCH 2/2] chore: remove some words --- docs/websites/website-navigation.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/websites/website-navigation.qmd b/docs/websites/website-navigation.qmd index 32b2c7129..a60d6bd91 100644 --- a/docs/websites/website-navigation.qmd +++ b/docs/websites/website-navigation.qmd @@ -380,7 +380,7 @@ website: ``` To use a specific sidebar on a page or a group of pages, specify the `sidebar` ID in the front matter of the page or in the `_metadata.yml` file. -For example, to include the tutorials sidebar, from the above example, on a page, add the following to the page's front matter: +For example, to include the tutorials sidebar on a page, add the following to the page's front matter: ```yaml sidebar: tutorials