Configuration Setting: maxtoclevel

Set the lowest priority heading level to include in the automatically generated Table of Contents. Note the higher the heading number, the lower the heading priority.

A value of 0 will disable the Table of Contents.

See also