Book
Gitbook theme for Zola
Install / Use
/learn @getzola/BookREADME
book
A theme based on Gitbook, to write documentation or books.

Demo: https://getzola.github.io/book/
Contents
Installation
First download this theme to your themes directory:
$ cd themes
$ git clone https://github.com/getzola/book.git
and then enable it in your config.toml:
theme = "book"
# Optional, if you want search
build_search_index = true
Usage
Book will generate a book from the files you place in the content directory. Your book
can have two levels of hierarchy: chapters and subchapters.
Each chapter should be a section within the Gutenberg site and should have an _index.md
file that sets its weight front-matter variable to its chapter number. For example,
chapter 2 should have weight = 2. Additionally, each chapter should also set the
sort_by = "weight" in its front matter.
Each subchapter should be a page and should have its weight variable set to the subchapter
number. For example, subchapter 3.4 should have weight = 4.
Finally, you should create an _index.md file and set the redirect_to front-matter variable
to redirect to the first section of your content. For example, if your first section has the
slug introduction, then you would set redirect_to = "introduction".
Options
Numbered chapters
By default, the book theme will number the chapters and pages in the left menu.
You can disable that by setting the book_number_chapters in extra:
book_number_chapters = false
Current section pages only
By default, the book theme will list all the pages in the current section.
You can disable that by setting the book_only_current_section_pages in extra:
book_only_current_section_pages = false
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
