edoc_lib(3)
π edoc_lib β NAME π
okay bestie, welcome to edoc_lib β¨ it's the utility functions module for EDoc, and yes it lives in the Erlang module definition section of the manual (that's the (3), iykyk π).
β¨ DESCRIPTION β¨
See also: edoc. π¦
(that's it. that's the description. it's giving minimalist main character energy π )
πΈ DATA TYPES πΈ
not a single data type up in here, bestie. the section said hi and left. π
π FUNCTIONS π
π«Ά get_doc_env(App, Modules, Options) -> edoc:env()
when
App :: atom() | no_app,
Modules :: [module()],
Options :: proplist().
okay so this one builds the environment data structure that parts of EDoc use for generating references and stuff like that β¨ it's the little backstage setup that makes the whole show work, fr fr.
For the tea on the options file_suffix, app_default and doc_path β go read edoc:run/2, that's where they're described π.
See also: edoc:get_doc/3, edoc_extract:source/4. π
π§ infer_module_app(module()) -> no_app | {app, atom()}
Infer which application contains the module you handed it π₯ like detective work but for apps, no cap.
β οΈ heads up bestie, this is the important part: it's expected that modules which are not preloaded and don't match the<app>/ebin/<mod>.beampath pattern will NOT have an app name inferred properly π. In those cases you just getno_appback. Not a bug, just the vibe. π
and that's the whole page, bestie!! π stay slay, stay hydrated, and may all your apps infer properly π
π ericsson ab really said "edoc 1.5" on this one β that's the source and version, bestie, and it's dated edoc_lib(3) at the footer because we're fancy like that π
β xoxo, your local unix bestie π β¨
π¦ where this page comes from
- ubuntu stonking: erlang-doc 1:29.0.6+dfsg-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms