Ordering documentation pages
By @lucasdicioccio, 146 words, 0 code snippets, 1 links, 0images.
The list of pages and the previous and next links of a documentation
page follow the order of the pages that use the
documentation layout, and only those.
The order field
The optional order number of the base:build-info.json section gives the
position of a page: pages with a smaller number come first.
Pages without an order
Pages without an order come after the numbered ones, sorted by title. A
documentation where no page has an order is thus sorted by title.
Groups
The optional group of the base:build-info.json section is the name of the
group a page is listed under. The pages of a group are always listed together:
a group stands where its first page does, and its other pages follow in order.
Pages without a group form a group of their own, listed without a name.
Publication status
The order only decides where a page stands among the others. A page follows the publication status rules of any other layout.