Skip to content

Commit 088e770

Browse files
authored
Module docs: make section references into links (#14494)
1 parent 36888ad commit 088e770

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/elixir/lib/module.ex

+6-6
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ defmodule Module do
2323
### `@after_compile`
2424
2525
A hook that will be invoked right after the current module is compiled.
26-
Accepts a module or a `{module, function_name}`. See the "Compile callbacks"
26+
Accepts a module or a `{module, function_name}`. See the ["Compile callbacks"](#module-compile-callbacks)
2727
section below.
2828
2929
### `@after_verify` (since v1.14.0)
3030
3131
A hook that will be invoked right after the current module is verified for
3232
undefined functions, deprecations, etc. Accepts a module or a `{module, function_name}`.
33-
See the "Compile callbacks" section below.
33+
See the ["Compile callbacks"](#module-compile-callbacks) section below.
3434
3535
### `@before_compile`
3636
3737
A hook that will be invoked before the module is compiled.
3838
Accepts a module or a `{module, function_or_macro_name}` tuple.
39-
See the "Compile callbacks" section below.
39+
See the ["Compile callbacks"](#module-compile-callbacks) section below.
4040
4141
### `@behaviour`
4242
@@ -124,7 +124,7 @@ defmodule Module do
124124
### `@compile`
125125
126126
Defines options for module compilation. This is used to configure
127-
both Elixir and Erlang compilers, as any other compilation pass
127+
both Elixir and Erlang compilers, as well as any other compilation pass
128128
added by external tools. For example:
129129
130130
defmodule MyModule do
@@ -136,7 +136,7 @@ defmodule Module do
136136
end
137137
138138
Multiple uses of `@compile` will accumulate instead of overriding
139-
previous ones. See the "Compile options" section below.
139+
previous ones. See the ["Compile options"](#module-compile-options) section below.
140140
141141
### `@deprecated` (since v1.6.0)
142142
@@ -726,7 +726,7 @@ defmodule Module do
726726
@doc """
727727
Returns information about module attributes used by Elixir.
728728
729-
See the "Module attributes" section in the module documentation for more
729+
See the ["Module attributes"](#module-module-attributes) section in the module documentation for more
730730
information on each attribute.
731731
732732
## Examples

0 commit comments

Comments
 (0)