add function for creating new menu item in docs