Cleans up docs menu hierarchy