I wrote a custom lookup plugin in a collection. When I write a custom module, I can run ansible-doc namespace.collection.module_name to get the documentation, but this doesn’t work for lookup plugins.
I can do ansible-doc -M FULL_PATH_TO_LOOKUP_DIRECTORY plugin_name_without_collection_namespace
But that’s not great.
Is there an alternative syntax I’m overlooking? What is the right way to use ansible-doc to view my collection lookup plugin docs?