View Source Moar.Code (Moar v1.60.0)

Code-related functions

Summary

Functions

Fetches module's @moduledoc as a markdown string

Fetches module.function's @doc as a markdown string

Functions

Link to this function

fetch_docs_as_markdown(module)

View Source
@spec fetch_docs_as_markdown(module()) :: nil | binary()

Fetches module's @moduledoc as a markdown string

Link to this function

fetch_docs_as_markdown(module, function)

View Source
@spec fetch_docs_as_markdown(module(), (... -> any())) :: nil | binary()

Fetches module.function's @doc as a markdown string