Function to list resources, and doc