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, andchapter_numbers = falsedisables 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-beforeandsidebar-afterextension slots alongside thebookinterface icon.
Side-rail and compact mobile pagination
- Documentation articles and Reader chapters now navigate forward and backward
through sticky vertical side rails (
chevron-leftandchevron-right) on desktop screens, keeping controls reachable without scrolling to the bottom of a long page. - On narrow viewports (
960pxand 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 (
60remto82rem) and Reader (48remto72rem) pages include a Normal/Wide width toggle (viewport-wideandviewport-narrowicons) in the page heading above960px, while keeping the right-hand table of contents visible. - Visitor choices persist in
localStorageand apply before the page paints. - Set
reader_width = "wide"to open a collection in wide mode by default, orshow_reader_width_toggle = falseto 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.