adds documentation for overriding templates