edoc_doclet(3erl)

πŸ“¦
version 25.3.2.8 Β· 3 versions
, in debian bookworm, ubuntu noble

🌸 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 is true, documentation of hidden modules and functions will also be included. The default value is false. 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 is true, documentation of private modules and functions will also be included. The default value is false. 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 the priv subdirectory 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 πŸ“πŸ’…πŸ«Ά