Getting documenter to display doc strings for methods in submodules

I’m using Documenter.jl for a package MyPkg.

This works:

MyPkg.somefunction

But this doesn’t:

MyPkg.SubModule.otherfunction

This is despite having modules = [MyPkg, MyPkg.SubModule] in my makedocs call in my make.jl file.

What am I missing here?

You need to add

using MyPkg.SubModule

explicitly in the make.jl file. (In your case I think using MLJ.Transformers is missing)

3 Likes