Limit Table of Contents to beta/alpha and not on main page

Should not be in stable.
Make sure TOC doesn't run on main page

Change-Id: I3aaac59a86aa248f0ea9ebdf2a6aa10262ab6ca7
Merge "Limit Table of Contents to beta/alpha and not on main page"