Add documentation functionality for components