Each module’s nav.adoc is a plain AsciiDoc unordered list.
Nesting is list depth
(, , ); a linked item is xref:page.adoc[Title]; an unlinked item starts a
new, unlinked heading in the side menu:
* Overview
* xref:main:index.adoc[About]
* xref:main:architecture.adoc[Architecture]
* Getting started
* xref:main:prerequisites.adoc[Prerequisites]
* xref:main:quickstart.adoc[Quickstart]
This is exactly how this site’s own main:nav.adoc groups Overview / Getting started /
Guides / Reference / Additional information / Contributing — six headings, none of
them a page of their own, each grouping a run of real pages underneath it.
The four names a rename has to keep in agreement
Renaming a component (not just adding/removing nav entries) touches four places that
all have to agree, or the site builds with zero pages — docouture doctor checks all
four:
| Name | Set in |
|---|---|
Component name |
|
Start page |
|
Content path |
|
Package name |
|
Adding a new module’s navigation
Covered separately in Adding a module — a new module needs both a
nav.adoc of its own and an entry in docs/src/antora.yml’s top-level `nav: list
and nav_modules:.