RSS

DevLab Theme v1.3

Hierarchical book chapters, side-rail pagination, and wide reading mode for documentation and books.

On this page

DevLab v1.3 brings book-style hierarchy, side-rail chapter navigation, and an expandable wide reading layout to documentation and books. The minimum Zola version remains 0.23.6.

Hierarchical books and collection switchers

  • Reader sidebars group subchapters under their parent chapters and add hierarchical chapter numbers (1., 1.1., 1.2.). Root introductions stay unnumbered, and chapter_numbers = false disables generated numbers per collection or section.
  • Collections can pin cross-collection or page switchers at the bottom of the desktop sidebar and mobile navigation panel with sidebar_links.
  • Mobile documentation panels render both sidebar-before and sidebar-after extension slots alongside the book interface icon.

Side-rail and compact mobile pagination

  • Documentation articles and Reader chapters now navigate forward and backward through sticky vertical side rails (chevron-left and chevron-right) on desktop screens, keeping controls reachable without scrolling to the bottom of a long page.
  • On narrow viewports (960px and below), Previous and Next links appear as compact icon buttons at the bottom of the article.
  • Set pagination_style = "cards" under [extra.devlab.docs] or a collection to restore bottom title cards. Blog post navigation keeps its existing card layout.

Wide reading mode for monitors

  • Both Documentation (60rem to 82rem) and Reader (48rem to 72rem) pages include a Normal/Wide width toggle (viewport-wide and viewport-narrow icons) in the page heading above 960px, while keeping the right-hand table of contents visible.
  • Visitor choices persist in localStorage and apply before the page paints.
  • Set reader_width = "wide" to open a collection in wide mode by default, or show_reader_width_toggle = false to hide the button.

Upgrade an existing site

Follow the installation guide to pin the theme to v1.3 and rebuild. Sites without custom pagination overrides pick up side-rail navigation and the width toggle automatically; set pagination_style = "cards" or show_reader_width_toggle = false if you prefer the previous layout.

Download DevLab v1.3