It looks like collection_prep_add_docs -p . looks for plugins/doc_fragments in the collection search path, not in the current directory (see community.vmware#1062 ff).
I think that not searching for plugins/doc_fragments in the directory defined with -p breaks the principle of least astonishment.
It looks like
collection_prep_add_docs -p .looks forplugins/doc_fragmentsin the collection search path, not in the current directory (see community.vmware#1062 ff).I think that not searching for
plugins/doc_fragmentsin the directory defined with-pbreaks the principle of least astonishment.