Missing module documentation under Requires.jl


I am developing a data processing package. This package contains plotting functionalities from PyPlot.jl, but I don’t want to include that as an explicit dependency, so I choose to use Requires.jl to accomplish the goal. The package import happens in the main source file. This works decent except for the documentation. As can be seen here, there is no documentation for the plotting functions. Either If I don’t specify anything, or if I use the Pages tag, it’s all empty.

What is the right way to display the documentation here?

It’s probably sufficient if you add PyPlot as a dependency to docs/Project.toml and also load it in docs/make.jl.