### Summary

ansible-doc contains deprecated calls to be removed for 2.17


### Issue Type

Feature Idea

### Component Name

`lib/ansible/cli/doc.py`
kdata['applies_to'].append(pobj)
                        
                        if 'type' not in kdata:
                            fa = PB_LOADED[pobj].fattributes.get(keyword)
                            if getattr(fa, 'private'):
                                kdata = {}
                                raise KeyError
                            kdata['type'] = getattr(fa, 'isa', 'string')
                            if keyword.endswith('when') or keyword in ('until',):
                                
                                
                                kdata['template'] = 'implicit'
                            elif getattr(fa, 'static'):
                                kdata['template'] = 'static'
                            else:
                                kdata['template'] = 'explicit'
                            
                            for visible in ('alias', 'priority'):
                                kdata[visible] = getattr(fa, visible)
                
                for k in list(kdata.keys()):
                    if kdata[k] is None:
                        del kdata[k]
                data[key] = kdata
            except (AttributeError, KeyError) as e:
                display.warning("Skipping Invalid keyword '%s' specified: %s" % (key, to_text(e)))
                if display.verbosity >= 3:
                    display.verbose(traceback.format_exc())
        return data
    def _get_collection_filter(self):