mirror of
https://github.com/PR0M3TH3AN/Archivox.git
synced 2025-09-08 15:08:43 +00:00
number sections and document sidebar ordering
This commit is contained in:
14
docs/content/02-features/navigation.md
Normal file
14
docs/content/02-features/navigation.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Controlling Sidebar Order
|
||||
|
||||
Archivox builds the sidebar by scanning the `content/` directory. Folders and files are sorted alphabetically by default. To set a custom order, prefix the names with numbers like `01-` or `02-`.
|
||||
|
||||
```
|
||||
content/
|
||||
01-getting-started/
|
||||
01-install.md
|
||||
02-build.md
|
||||
02-features/
|
||||
03-customization/
|
||||
```
|
||||
|
||||
Numbers are stripped from the displayed titles, but they determine the ordering in the navigation. Nested folders work the same way, letting you create subsections within a section.
|
Reference in New Issue
Block a user