gleam icon indicating copy to clipboard operation
gleam copied to clipboard

OTP27 export moduledoc and doc for module docs and function docs

Open inoas-nbw opened this issue 10 months ago • 6 comments

This EEP proposes two new attributes: -doc and -moduledoc. They could be used as follows:

See: https://www.erlang.org/eeps/eep-0059#new-module-attributes

Implemented in OTP 27 https://www.erlang.org/news/167#documentation

Maybe moduledoc false for @internal? https://www.erlang.org/eeps/eep-0059#hidden-docs

inoas-nbw avatar Apr 19 '24 11:04 inoas-nbw

Yooo this rules!! Let's do it for sure

lpil avatar Apr 19 '24 12:04 lpil

Cool. I may be alone with this but I think that gleam is not just great on itself but is the best way to create beam eco system libraries and this will help a lot <3.

inoas avatar Apr 19 '24 19:04 inoas