Generate ex_docs without 'used' module

I am trying to generate documentation for an API wrapper around HTTPoison. However, when building the docs, I end up with all the public methods of the used HTTPoison.Base module.

Is there any way to tell ex_doc to exclude documentation from the imported functions (unless they’ve been explicitly redefined)?

With HTTPoison you do not import, macro magic does actually define those functions in the module that uses it… Therefore you do not have much chance except switch in library or to not use it