readthedocs inserts its html into <main> and breaks markup (Click on the link in the left menu and you will see the effect when scrolling automatically to the anchor) 
readthedocs inserts its html into
and breaks markup (Click on the link in the left menu and you will see the effect when scrolling automatically to the anchor)