ashton v0.3.7 Ashton.Doc View Source
Automatic opt documentation, to be placed into your function docstrings
Link to this section Summary
Functions
Opts
name
(:string
): The top level header for the opts documentation - Default: "Opts"header_depth
(:int
): How many#
to prepend before any heading - Default: 1
Link to this section Functions
Link to this function
document(schema, doc_opts \\ [])
View Source
document(schema, doc_opts \\ [])
View Source
document(schema :: Ashton.schema(), doc_opts :: Keyword.t()) :: String.t()
document(schema :: Ashton.schema(), doc_opts :: Keyword.t()) :: String.t()
Opts
name
(:string
): The top level header for the opts documentation - Default: "Opts"header_depth
(:int
): How many#
to prepend before any heading - Default: 1
Link to this function