You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: getting-started/module-attributes.markdown
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ Elixir has a handful of reserved attributes. Here are just a few of them, the mo
34
34
*`@behaviour` - (notice the British spelling) used for specifying an <abbrtitle="Open Telecom Platform">OTP</abbr> or user-defined behaviour.
35
35
*`@before_compile` - provides a hook that will be invoked before the module is compiled. This makes it possible to inject functions inside the module exactly before compilation.
36
36
37
-
`@moduledoc` and `@doc` are by far the most used attributes, and we expect you to use them a lot. Elixir treats documentation as first-class and provides many functions to access documentation. You can read more about [writing documentation in Elixir in our official documentation](/docs/stable/elixir/typespecs.html).
37
+
`@moduledoc` and `@doc` are by far the most used attributes, and we expect you to use them a lot. Elixir treats documentation as first-class and provides many functions to access documentation. You can read more about [writing documentation in Elixir in our official documentation](/docs/stable/elixir/writing-documentation.html).
38
38
39
39
Let's go back to the `Math` module defined in the previous chapters, add some documentation and save it to the `math.ex` file:
0 commit comments