# Missing module documentation under Requires.jl

**URL:** <https://discourse.julialang.org/t/missing-module-documentation-under-requires-jl/58454>\
**Category:** General Usage\
**Tags:** package, documenter\
**Created:** [April 2, 2021, 4:26pm UTC](https://discourse.julialang.org/t/missing-module-documentation-under-requires-jl/58454 "2021-04-02T16:26:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![henry2004y](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henry2004y/32/9284_2.png) [@henry2004y](https://discourse.julialang.org/u/henry2004y)\
**Post date:** [April 2, 2021, 4:26pm UTC](https://discourse.julialang.org/t/missing-module-documentation-under-requires-jl/58454/1 "2021-04-02T16:26:11Z")

</div>

Hello,

I am developing a data processing package. This package contains [plotting functionalities](https://github.com/henry2004y/Vlasiator.jl/blob/master/src/plot/pyplot.jl) from PyPlot.jl, but I don’t want to include that as an explicit dependency, so I choose to use [Requires.jl](https://github.com/JuliaPackaging/Requires.jl) to accomplish the goal. The package import happens in the [main source file](https://github.com/henry2004y/Vlasiator.jl/blob/master/src/Vlasiator.jl). This works decent except for the documentation. As can be seen [here](https://henry2004y.github.io/Vlasiator.jl/dev/internal/#Plotter), 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?

---

<div class="post-metadata">

**Author:** ![mortenpi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mortenpi/32/158_2.png) [@mortenpi](https://discourse.julialang.org/u/mortenpi)\
**Post date:** [April 18, 2021, 12:28am UTC](https://discourse.julialang.org/t/missing-module-documentation-under-requires-jl/58454/2 "2021-04-18T00:28:25Z")

</div>

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