### Summary

ansible-doc contains deprecated calls to be removed for 2.17


### Issue Type

Feature Idea

### Component Name

`lib/ansible/cli/doc.py`
filename = to_native(results[plugin])
                
                pbreak = plugin.split('.')
                if pbreak[-1].startswith('_') and pbreak[0] == 'ansible' and pbreak[1] in ('builtin', 'legacy'):
                    pbreak[-1] = pbreak[-1][1:]
                    plugin = '.'.join(pbreak)
                    deprecated.append("%-*s %-*.*s" % (displace, plugin, linelimit, len(filename), filename))
                else:
                    text.append("%-*s %-*.*s" % (displace, plugin, linelimit, len(filename), filename))
        else:
            
            for plugin in sorted(results.keys()):
                desc = DocCLI.tty_ify(results[plugin])
                if len(desc) > linelimit:
                    desc = desc[:linelimit] + '...'
                pbreak = plugin.split('.')
                
                if pbreak[-1].startswith('_') and plugin.startswith(('ansible.builtin.', 'ansible.legacy.')):
                    
                    pbreak[-1] = pbreak[-1][1:]
                    plugin = '.'.join(pbreak)
                    deprecated.append("%-*s %-*.*s" % (displace, plugin, linelimit, len(desc), desc))
                else:
                    text.append("%-*s %-*.*s" % (displace, plugin, linelimit, len(desc), desc))
        if len(deprecated) > 0:
            text.append("\nDEPRECATED:")
            text.extend(deprecated)
        
        DocCLI.pager("\n".join(text))
    def _display_available_roles(self, list_json):