Skip to content

Shelves, Books, Chapters and Pages

Chapter 1 introduced the four levels. This one is about using them well, because the hierarchy is the one decision in BookStack you make constantly and notice only when it's wrong.

The four levels, with the lab's example

The lab built a small library for an invented allotment association:

  • Shelf: The Allotment Library — everything this group keeps.
  • Book: Growing Vegetables — one subject: what to sow, plant and harvest.
  • Chapter: Autumn Jobs — one season's worth of that subject.
  • Page: Storing Pumpkins for Winter — the writing itself, one question answered properly.

A second book, Seed Orders and Accounts, appears from chapter 8 onward, where it gets fenced off from ordinary readers.

Shelves: group by audience or by world

A shelf is a collection of books. Make one when a set of books shares readers ("the committee shelf"), a world ("the workshop shelf"), or an owner. Don't make shelves mirror your folder habits from 2009; a shelf earns its place when someone can say "everything I need is on that shelf."

Books can stand on several shelves at once. Growing Vegetables could sit on both The Allotment Library and a New Members shelf without being copied — shelves hold references, not duplicates.

Books: one subject, covered properly

A book is the unit readers browse and the unit permissions most often attach to (chapter 8). The test for "is this a book?" is whether it deserves its own cover and contents page: Growing Vegetables yes; Pumpkins no — that's a page; Autumn Jobs no — that's a chapter, a stretch of one book.

Chapters: optional, and that's fine

Chapters group pages inside a book. Use them when a book grows past the point where a flat list scans well, or when its subject has natural sections — seasons, in the lab's case. A page does not need a chapter: small books with pages straight in the book are normal and tidy. You can move pages between chapters later by dragging them in the book's contents or with the page's Move action; tidying is cheap, but plan roughly first anyway.

Pages: one question each

The page is where writing lives, and the habit that makes a wiki useful instead of merely full is one subject per page, titled the way a reader would ask about it. Storing Pumpkins for Winter, not Misc notes (Oct). Small pages link to each other; link text is navigation readers actually follow. Chapter 7 shows the other half of this bargain: search finds pages by their words, so a page that answers one question in plain words is a page that gets found.

Creating the hierarchy

Everything above is done from the buttons you'd expect: New Shelf on the Shelves page, New Book inside a shelf or on the Books page, New Chapter and New Page inside a book. Each asks for a name and a short description — write the description; it shows in listings and search results and it is the cheapest findability you will ever buy.

Check: create the four levels with real content, then open the book. Its contents page should read like the table of contents of a book you'd lend someone.