View Source Skogsra.Docs (Skogsrå v2.5.0)

This module defines the documentation generators.

Summary

Types

Custom docs.

Function name.

Functions

Generates docs for a variable given its module, function_name, app_name, keys to find it, options and custom docs.

Generates put docs for a variable given its module and function_name.

Generates reload docs for a variable given its module and function_name.

Generates short docs for a variable given its module, function_name, and custom docs.

Types

@type docs() :: nil | false | binary()

Custom docs.

@type function_name() :: atom()

Function name.

Functions

Link to this function

gen_full_docs(module, function_name, app_name, keys, options, docs)

View Source

Generates docs for a variable given its module, function_name, app_name, keys to find it, options and custom docs.

Link to this function

gen_put_docs(module, function_name, docs)

View Source
@spec gen_put_docs(
  module(),
  function_name(),
  docs()
) :: binary()

Generates put docs for a variable given its module and function_name.

Link to this function

gen_reload_docs(module, function_name, docs)

View Source
@spec gen_reload_docs(
  module(),
  function_name(),
  docs()
) :: binary()

Generates reload docs for a variable given its module and function_name.

Link to this function

gen_short_docs(module, function_name, docs)

View Source
@spec gen_short_docs(
  module(),
  function_name(),
  docs()
) :: binary()

Generates short docs for a variable given its module, function_name, and custom docs.