In the makedocs()
call of docs/Project.toml, how do I use package information, say the authors, from its Project.toml?
MWE:
using MyPackage
using Documenter
makedocs(;
modules = [MyPackage],
authors = get_author_info(MyPackage),
repo = "...",
)
I’m trying to see how to achieve the functionality of get_author_info()
or something to that effect. I know that Pkg.jl has the project()
and dependencies()
functions, but I couldn’t really figure out how to get them to do this. (Also, they’re experimental, so I’m not sure how reliable they would be.)