The rules

  1. Guides (tutorials)

20. Guides (tutorials)

A guide is a folder with a _nav.md: a tutorial of several pages read in order, with a navigation sidebar, a breadcrumb, Previous / Next links and shared header and footer.

text
order-journey/
  _nav.md          the order of the pages, and the guide-wide settings
  _header.md       optional: a band at the top of every page
  _footer.md       optional: a band above the footer of every page
  index.md
  install.md
  happy/place.md   pages may sit in subfolders
  reset.adoc       and may be AsciiDoc

_nav.md is front matter plus a markdown list. An item with a link is a page; an item without one is a section heading; indentation nests.

markdown
---
title: The order journey
description: Follow order #4711 from checkout to the doorstep.
version: v1.0
theme: paper
footer: Northwind Logistics engineering
edit-url: https://github.com/acme/order-journey/edit/main/docs
---

- [Introduction](index.md)
- Getting started
  - [Install the lab](install.md)
- The happy path
  - [Place an order](happy/place.md)
  - [Pay for the order](happy/pay.md)
- [Reset the lab](reset.adoc)
- [Status page](https://status.example.com)

Example: si --export example --type guide (or --type all for every kind side by side, then si serve si-example).