Manual:$wgMaxTocLevel/en

Details
Maximum indent level of the table of contents.