refactored docs menu