Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update website-navigation.qmd to use _index.qmd #1181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/websites/website-navigation.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
Loading