From e3be891e81655c5d6653345542d2902ea059a133 Mon Sep 17 00:00:00 2001 From: James Laird-Smith Date: Mon, 24 Jun 2024 13:23:13 +0100 Subject: [PATCH] Update website-navigation.qmd --- docs/websites/website-navigation.qmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/websites/website-navigation.qmd b/docs/websites/website-navigation.qmd index 4ad579886b..9c5cb742c0 100644 --- a/docs/websites/website-navigation.qmd +++ b/docs/websites/website-navigation.qmd @@ -186,9 +186,9 @@ Using `contents: auto` at the root level will result in all documents in your we 1. Navigation item titles will be read from the `title` field of documents. -2. Sub-directories will create sections and will be automatically titled based on the directory name (including adding capitalization and substituting spaces for dashes and underscores). Use an `index.qmd` in the directory to provide an explicit `title` if you don't like the automatic one. +2. Sub-directories will create sections and will be automatically titled based on the directory name (including adding capitalization and substituting spaces for dashes and underscores). Use an `_index.qmd` in the directory to provide an explicit `title` if you don't like the automatic one. -3. Order is alphabetical (by filename) unless a numeric `order` field is provided in document metadata. +3. Order is alphabetical (by filename) unless a numeric `order` field is provided in document metadata. Use an `_index.qmd` file in a sub-directory to set its `order` position. Automatic navigation automatically includes items in sub-directories. If you prefer not to do this, use an explicit `/*` to indicate only the documents in the root directory: