From 9bc1dbc6be107d760fcfca0f5522ad8ce54b7653 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Fri, 9 Feb 2024 19:27:59 +0100 Subject: [PATCH] Move helper note --- docs/creating-content/documentation-pages.md | 2 ++ docs/digging-deeper/customization.md | 2 -- docs/digging-deeper/navigation.md | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/creating-content/documentation-pages.md b/docs/creating-content/documentation-pages.md index 2dfe2ab7cde..7d6170b3501 100644 --- a/docs/creating-content/documentation-pages.md +++ b/docs/creating-content/documentation-pages.md @@ -167,6 +167,8 @@ For example, putting a Markdown file in `_docs/getting-started/`, is equivalent >info Note that when the [flattened output paths](#using-flattened-output-paths) setting is enabled (which it is by default), the file will still be compiled to the `_site/docs/` directory like it would be if you didn't use the subdirectories. Note that this means that you can't have two documentation pages with the same filename as they overwrite each other. +>info Tip: When using subdirectory-based dropdowns, you can set their priority using the directory name as the array key. + ### Hiding items You can hide items from the sidebar by adding the `hidden` property to the front matter: diff --git a/docs/digging-deeper/customization.md b/docs/digging-deeper/customization.md index c66bbcd9e78..858e9d240c5 100644 --- a/docs/digging-deeper/customization.md +++ b/docs/digging-deeper/customization.md @@ -221,8 +221,6 @@ Learn more in the [Navigation Menu](navigation) documentation. Learn more in the [Documentation Pages](documentation-pages) documentation. ->info Tip: When using subdirectory-based dropdowns, you can set their priority using the directory name as the array key. - ## Additional Advanced Options The following configuration options in the `confg/hyde.php` file are intended for advanced users and diff --git a/docs/digging-deeper/navigation.md b/docs/digging-deeper/navigation.md index 966904f0f74..0d62fab87ac 100644 --- a/docs/digging-deeper/navigation.md +++ b/docs/digging-deeper/navigation.md @@ -288,6 +288,7 @@ This feature is enabled by default, so you only need to place your pages in subd For example: `_docs/getting-started/installation.md` will be placed in a group called "Getting Started". +>info Tip: When using subdirectory-based dropdowns, you can set their priority using the directory name as the array key. ## Digging deeper into the internals