Site settings

Navigation

Organize sections, groups, and page order for the sidebar and header of a published docs site

What navigation controls

The Navigation settings decide how readers move around our published docs site. They shape the sidebar and header: which sections appear, how pages are grouped inside each section, and the order in which those pages are listed.

Navigation does not write or move the pages themselves. Each page keeps its own content and address. Navigation is the map that points readers to those pages, so we can reorganize the map without editing the MDX in each page.

Before you start

  • Make sure the pages we want to list already exist on the branch we are working on. If they do not, create them in the Content editor first.

  • Open the project in the dashboard and go to Site settings, then Navigation.

  • Review the result on a preview before publishing. See Branches and previews.

Sections, groups, and pages

Navigation has three levels, and each level holds the one below it.

LevelWhat it doesExample
SectionA top-level area of the docsGetting Started
GroupA labeled cluster of pages inside a sectionInstallation
PageA single page, listed by its titleQuickstart

We recommend keeping the structure shallow. Readers scan a short list of sections faster than a deep tree. When an agent adds a new page on a branch, it is easiest to place that page into an existing group.

Set the page order

Page order is the order in which items appear inside a section or group. To change it:

  1. Open Site settings, then Navigation for the project.

  2. Move the section, group, or page to its new position.

  3. Save the change to the branch.

  4. Open the preview and check the sidebar and header on a desktop screen and on a narrow screen.

Put the most common starting points first. For example, a Getting Started section with Overview and Quickstart at the top helps new readers begin in the right place.

Choose the sidebar and header layout

The layout settings that sit alongside navigation control where the sidebar appears and how section tabs are placed. The options are fixed choices, and the sidebar and header work together, so preview each option before publishing. The same content can read very differently in each layout.

As a rule of thumb:

  • Use the header for a short list of top-level sections.

  • Use the sidebar for the pages inside the section a reader is currently viewing.

Keep navigation in step with pages

Navigation points to pages by their addresses. When we rename a page or change its route, the navigation entry must point to the new address, or readers will land on a missing page. Before publishing, check that:

  • Every navigation entry opens a page on the preview.

  • New pages appear in the navigation, not only in the content.

  • Pages we removed from navigation are still reachable through the links we want to keep.

Note:

A page that is missing from navigation can still be published. Readers will only find it through search or a direct link. Add the page to a group if readers should discover it from the sidebar.

Edit navigation as JSON

Navigation is part of the full site configuration. For many changes at once, we can edit the configuration as JSON on the Advanced JSON page. Use the Navigation screen for small changes and the JSON editor when we want to reorder a large structure in one pass.

Publish the change

Navigation changes reach readers when we publish the branch that contains them. Review the preview first, then publish from the dashboard. When an agent starts a publish, a person must approve it first. See Agent approvals for the details.

If something looks wrong after publishing, we can restore an earlier version. See Publishing and restore.