Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1004 Bytes

api.md

File metadata and controls

31 lines (21 loc) · 1004 Bytes

APIGenerator API

APIGenerator

Build Status

Example

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

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 overwrite dest
  • readme = true will include the pkg's readme as the first item
  • toc = true adds a table of contents with section links