### Summary

ansible-doc contains deprecated calls to be removed for 2.17


### Issue Type

Feature Idea

### Component Name

`lib/ansible/cli/doc.py`
"""A mixin containing all methods relevant to role argument specification functionality.
    Note: The methods for actual display of role data are not present here.
    """
    
    
    ROLE_ARGSPEC_FILES = ['argument_specs' + e for e in C.YAML_FILENAME_EXTENSIONS] + ["main" + e for e in C.YAML_FILENAME_EXTENSIONS]
    def _load_argspec(self, role_name, collection_path=None, role_path=None):
        """Load the role argument spec data from the source file.
        :param str role_name: The name of the role for which we want the argspec data.
        :param str collection_path: Path to the collection containing the role. This
            will be None for standard roles.
        :param str role_path: Path to the standard role. This will be None for
            collection roles.
        We support two files containing the role arg spec data: either meta/main.yml