import APIGenerator
APIGenerator.make_api("APIGenerator", Pkg.dir("APIGenerator", "docs", "api.md"), readme=true)
See docs/api.md to see the generated file.
The generated file includes this README and then includes the docstring of each exported item from APIGenerator (in this case, only make_api
).
make_api(pkg, dest; title = "$pkg API", readme=true, clobber=true, toc=true)
Write a markdown file (dest
) which includes the docstring of every exported name from pkg
.
clobber = true
will overwritedest
readme = true
will include thepkg
's readme as the first itemtoc = true
adds a table of contents with section links