number sections and document sidebar ordering

This commit is contained in:
thePR0M3TH3AN
2025-07-10 15:43:46 -04:00
parent e67416d29b
commit b0bb32da53
13 changed files with 15 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
Archivox automatically turns your Markdown files into a full documentation site with a responsive layout and search.
* Sidebar navigation generated from folders
* Sidebar navigation generated from folders (prefix names with numbers to control order)
* Collapsible mobile menu and dark-mode switch
* Client-side search powered by Lunr.js
* Shortcodes for rich content (images, tabs, notes)

View 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.