Automatic documentation menu generation