edoc_lib(3erl)
π NAME π
okay so this is edoc_lib(3erl), and the manual name is literally Erlang Module Definition β we're in Erlang land, bestie.
edoc_lib β utility functions for EDoc. Short, sweet, iconic.
β¨ DESCRIPTION β¨
Utility functions for EDoc. That's the whole description, and honestly? It's giving minimal main character energy. No cap.
π DATA TYPES π
There is exactly one type alias on this page, and it is literally this:
proplist() = proplists:proplist():
Copy it exactly, trailing colon included. Don't come for me π
π EXPORTS π
Three exports. We are going through every single one, no skipping, periodt.
π get_doc_env(App, Modules, Options) -> edoc:env()
Types:
App = atom() | no_app
Modules = [module()]
Options = proplist()
This one creates an environment data structure used by parts of EDoc for generating references, etc.
See edoc:run/2 for a description of the options file_suffix, app_default and doc_path.
See also: edoc:get_doc/3, edoc_extract:source/4.
π¦ infer_module_app(Mod::module()) -> no_app | {app, atom()}
Infer application containing the given module.
Heads up bestie: 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.no_appis returned in such cases.
That's the whole vibe check for this one.
πΈ write_file(Text, Dir, Name, Options) -> term()
This entry is literally just the signature β the page gives no types block and no description, so I'm not gonna invent one for clout. It takes Text, Dir, Name, Options and returns term(). That's all we've got, bestie.
π SEE ALSO π
edoc β that's it. Go read that one next, iykyk.
π«Ά AUTHORS π«Ά
Made by Richard Carlsson <carlsson.richard@gmail.com> β iconic.
muah π this page is from edoc 1.2 (the footer's source/version), and the footer doesn't give a date, so no fake date from me. Manual tag: edoc_lib(3erl). Bye bestie π
π¦ where this page comes from
- debian bookworm: erlang-manpages 1:25.2.3+dfsg-1+deb12u1 Β· Apache-2.0
- debian bookworm: erlang-manpages 1:25.2.3+dfsg-1+deb12u4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms