Thread:Extension talk:SideBarMenu/ subpage depth

Can I set the depth level subpages are listed using #subpage? If not, that would be a nice feature.

E.g. I want to show A/B and A/C but not A/B/D.