OurBigBook logoOurBigBook Docs OurBigBook logoOurBigBook.comSite Source code
Maximum number of entries in each static HTML table of contents. Set a non-negative integer; 0 (the default) means unlimited. For example:
{
  "tocMaxEntries": 1000
}
If the table exceeds this limit, the deepest level is removed in full, repeatedly, until the remaining entries fit. Every retained depth level remains complete across all branches. The first level is always kept, even if it alone exceeds the limit.
For example, if successive levels contain 4, 10, and 20 entries, a limit of 15 keeps the first two levels (14 entries). A limit of 10 keeps only the first level (4 entries), and a limit of 2 still keeps all 4 first-level entries.
The limit is calculated independently for each output page, including -S, --split-headers and includes. Only TOC entries are removed; all document sections remain. TOC shortcuts on omitted headings link to the table of contents itself. This setting does not change OurBigBook Web tables of contents.

Ancestors (3)

  1. Ourbigbook.json
  2. OurBigBook CLI
  3. Home