edoc_doclet(3erl)
πΈ edoc_doclet(3erl) β Erlang Module Definition πΈ
πΈ NAME πΈ
edoc_doclet β Standard doclet module for EDoc. That's the whole name tea, bestie π
β¨
π¦ DESCRIPTION π¦
Okay so real talk: the way that edoc_doclet is the standard doclet module for EDoc is iconic. That's the description, and it ate π«Άπ
π§ DATA TYPES π§
command()β Doclet commands. The type is literally:
command() = doclet_gen() | doclet_toc()
context()β Context for doclets:
context() = #doclet_context{dir=string(), env=edoc:env(), opts=[term()]}
doclet_gen()β Doclet command:
doclet_gen() = #doclet_gen{sources=[string()], app=no_app | atom(), modules=[module()]}
doclet_toc()β Doclet command:
doclet_toc() = #doclet_toc{paths=[string()], indir=string()}
π₯ EXPORTS π₯
run/2 β the main character entry point π
run(Doclet_gen::edoc_doclet:command(), Ctxt::edoc_doclet:context()) -> ok
Main doclet entry point. See the file edoc_doclet.hrl for the data structures used for passing parameters.
Also see edoc:layout/2 for layout-related options, and edoc:get_doc/2 for options related to reading source files.
β¨ Options β¨
{file_suffix, string()}β Specifies the suffix used for output files. The default value is".html". Cute little output suffix behavior, no cap π{hidden, boolean()}β If the value istrue, documentation of hidden modules and functions will also be included. The default value isfalse. So hidden stays hidden unless you say true, bestie π{overview, edoc:filename()}β Specifies the name of the overview-file. By default, this doclet looks for a file"overview.edoc"in the target directory. It's giving overview-file energy π{private, boolean()}β If the value istrue, documentation of private modules and functions will also be included. The default value isfalse. Private docs stay private by default, periodt π{stylesheet, string()}β Specifies the URI used for referencing the stylesheet. The default value is"stylesheet.css". If an empty string is specified, no stylesheet reference will be generated. So empty string = no stylesheet reference, literally π{stylesheet_file, edoc:filename()}β Specifies the name of the stylesheet file. By default, this doclet uses the file"stylesheet.css"in theprivsubdirectory of the EDoc installation directory. The named file will be copied to the target directory. Copying to the target directory is the vibe π«Ά{title, string()}β Specifies the title of the overview-page. Title go brrr on the overview-page π
π SEE ALSO π
edocβ go read that one too, bestie πβ
π AUTHORS π
- Richard Carlsson β
<carlsson.richard@gmail.com>
cute sign-off: source/version is edoc 1.2, manual is edoc_doclet(3erl), and the footer didn't list a date β no cap, that's the whole footer tea ππ
π«Ά
π¦ 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